亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖

                        PC-FXGA僆乕僒儕儞僌僜僼僩僂僃傾
                    亀俧俵俙俲俤俼亁僗僞乕僞僉僢僩僾儔僗(Ver.1.1)
                      乭俥倃俙俽丏俤倃俤(Ver.1.02)乭偺夝愢

                                        擔杮揹婥儂乕儉僄儗僋僩儘僯僋僗姅幃夛幮
                                                          侾俋俋俇擭俈寧俁侽擔

亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖

栚師

戞侾復  傾僙儞僽儔奣梫
侾丏侾  奺僼傽僀儖偺愢柧
侾丏俀  摦嶌偺奣棯

戞俀復  傾僙儞僽儔偺峔暥
俀丏侾  彂幃
俀丏俀  暥帤偺巊梡
俀丏俁  梊栺岅
俀丏係  僐儊儞僩
俀丏俆  僔儞儃儖
俀丏俇  僱乕儉
俀丏俈  儔儀儖
俀丏俉  枹掕媊奜晹柤
俀丏俋  悢抣掕悢
俀丏10  幃
俀丏11  暥帤楍掕悢
俀丏12  僄僗働乕僾暥帤

戞俁復  倁俉侾侽傾僪儗僢僔儞僌儌乕僪
亂傾僪儗僢僔儞僌儌乕僪恾夝亃
俁丏侾  婡夿岅柦椷
俁丏俀  儅僋儘柦椷
俁丏俁  峔憿壔儅僋儘

戞係復  傾僙儞僽儔偺媈帡柦椷
係丏侾  僙僋僔儑儞掕媊
係丏侾丏侾  僆儕僕儞抣偮偒僙僋僔儑儞掕媊
係丏侾丏俀  僆儕僕儞抣側偟柤慜偮偒僙僋僔儑儞掕媊
係丏俀  儘働乕僔儑儞僇僂儞僞惂屼
係丏俁  僔儞儃儖偺愰尵
係丏係  僔儞儃儖抣偺掕媊
係丏俆  僨乕僞掕媊丄椞堟妋曐
係丏俇  儅僋儘
係丏俈  僀儞僋儖乕僪
係丏俉  僶僀僫儕僼傽僀儖撉傒崬傒
係丏俋  忦審偮偒傾僙儞僽儖
係丏10  儕僗僩惂屼
係丏11  孞傝曉偟
係丏12  僔儞儃儕僢僋僨僶僢僌
係丏13  僄儔乕敪惗

戞俆復  傾僙儞僽儔偺巊梡彂幃
俆丏侾  僐儅儞僪擖椡宍幃
俆丏俀  僆僾僔儑儞偺庬椶偲婡擻
俆丏俁  僿儖僾儊僢僙乕僕

戞俇復  柦椷揥奐
俇丏侾  捠忢偺柦椷揥奐
俇丏俀  暘婒儅僋儘
俇丏俁  戙擖儅僋儘
俇丏係  嶼弍寁嶼儅僋儘
俇丏俆  摿庩儅僋儘
俇丏俇  僼儔僌儅僋儘

戞俈復  僄儔乕儊僢僙乕僕


亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖

戞侾復丂傾僙儞僽儔奣梫

杮傾僙儞僽儔偼倁俉侾侽梡偺傾僙儞僽儔偱偡丅

壓婰僼傽僀儖傪擖椡偟偰掕傔傜傟偨峔暥婯懃偵廬偄儕儘働乕僞僽儖僆僽僕僃僋僩僼傽僀
儖傪弌椡偟傑偡丅

仠 僜乕僗僼傽僀儖
傾僙儞僽儕尵岅偱婰弎偝傟偨僼傽僀儖丅
戝偒偔暘偗偰丄俠俹倀柦椷偲媈帡柦椷偵暘偐傟傑偡丅

仠 僀儞僋儖乕僪僼傽僀儖
偙傟傕僜乕僗僼傽僀儖偱偡偑丄奺僾儘僌儔儉偱嫟捠側僔儞儃儖傪掕媊偡傞偲偒偵巊偄傑
偡丅
傑偨僗僀僢僠偵傛偭偰丄傾僙儞僽儖儕僗僩僼傽僀儖傕弌椡偟傑偡丅
傾僙儞僽儖儕僗僩僼傽僀儖偼峴斣崋丄傾僪儗僗丄僆僽僕僃僋僩丄僜乕僗儕僗僩偐傜惉偭
偰偄傑偡丅

儕儘働乕僞僽儖僆僽僕僃僋僩僼傽僀儖偼儕儞僇偵擖椡偡傞偙偲偵傛傝丄幚峴宍幃偺僆
僽僕僃僋僩僼傽僀儖偑惗惉偝傟傑偡丅

* 僯乕儌僯僢僋偺徻嵶偵偮偄偰偼丄倁俉侾侽僼傽儈儕 儐乕僓乕僘丒儅僯儏傾儖傪
丂偛嶲徠壓偝偄丅


仭柦椷昞婰偺堘偄

杮傾僙儞僽儔偲丄俶俤俠惢傾僙儞僽儔偱偼柦椷偺昞婰曽朄偑堦晹堎側傞晹暘偑偁傝傑
偡丅

仠jmp柦椷
亅亅亅亅亅亅亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅
摉傾僙儞僽儔昞婰  乥俶俤俠惢傾僙儞僽儔昞婰
亅亅亅亅亅亅亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅
jmp丂reg          乥jmp丂[reg]
亅亅亅亅亅亅亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅

仠忦審暘婒柦椷
亅亅亅亅亅亅亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅
摉傾僙儞僽儔昞婰  乥俶俤俠惢傾僙儞僽儔昞婰
亅亅亅亅亅亅亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅
bgt               乥bgt
亅亅亅亅亅亅亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅
bge               乥bge
亅亅亅亅亅亅亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅
blt               乥blt
亅亅亅亅亅亅亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅
ble               乥ble
亅亅亅亅亅亅亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅
                  乥
亅亅亅亅亅亅亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅
bhi               乥bh
亅亅亅亅亅亅亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅
bhs               乥bnl
亅亅亅亅亅亅亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅
blo               乥bl
亅亅亅亅亅亅亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅
bls               乥bnh
亅亅亅亅亅亅亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅
                  乥
亅亅亅亅亅亅亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅
beq               乥be
亅亅亅亅亅亅亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅
bne               乥bne
亅亅亅亅亅亅亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅
                  乥
亅亅亅亅亅亅亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅
bvs               乥bv
亅亅亅亅亅亅亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅
bvc               乥bnv
亅亅亅亅亅亅亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅
bmi               乥bn
亅亅亅亅亅亅亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅
bpl               乥bp
亅亅亅亅亅亅亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅
bcs               乥bc
亅亅亅亅亅亅亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅
bcc               乥bnc
亅亅亅亅亅亅亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅
beq               乥bz
亅亅亅亅亅亅亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅
bne               乥bnz
亅亅亅亅亅亅亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅

仸偳偪傜偺昞婰偱傕壜擻偱偡丅


仭侾丏侾丂奺僼傽僀儖偺愢柧

侾乯傾僙儞僽儔僜乕僗僼傽僀儖偺擖椡
僜乕僗僼傽僀儖偼僄僨傿僞傑偨偼俠僐儞僷僀儔側偳偱嶌惉偝傟丄捠忢師偺僼傽僀儖宍幃
偲側偭偰偄傑偡丅

僼傽僀儖柤.s

俀乯儕儘働乕僞僽儖僆僽僕僃僋僩僼傽僀儖偺弌椡
傾僙儞僽儔傪幚峴偡傞偙偲偵傛傝弌椡偝傟傞僆僽僕僃僋僩僼傽僀儖偼捠忢師偺僼傽僀儖
宍幃偱偡丅

僼傽僀儖柤.o乮巜掕偑偁傞偲偒偼偦偺僼傽僀儖柤乯

俁乯儕僗僩僼傽僀儖偺弌椡
傑偨婲摦帪偺僆僾僔儑儞偵傛傝弌椡偝傟傞儕僗僩僼傽僀儖偼丄捠忢師偺僼傽僀儖宍幃偱
偡丅

僼傽僀儖柤.prn乮巜掕偑偁傞偲偒偼偦偺僼傽僀儖柤乯

儕僗僩僼傽僀儖偺宍幃偼師偺捠傝偱偡丅

#僼傽僀儖柤
峴斣崋丗丂僙僋僔儑儞丗傾僪儗僗丂丂儅僋儘婰崋(+)丂僜乕僗

僙僋僔儑儞偼丄尰僶乕僕儑儞偱偼丄.text(1)丄.data(2)丄.bss(3)丄偺僙僋僔儑儞傪帵
偟傑偡丅
儅僋儘婰崋偼丄儅僋儘揥奐拞偵 + 傪帵偟傑偡丅
怴偨側僀儞僋儖乕僪僼傽僀儖偑偁傞応崌丄僼傽僀儖柤偑昞帵偝傟傑偡丅


仭侾丏俀丂摦嶌偺奣棯

摦嶌偺奣棯偼壓恾偺捠傝偱偡


丂丂丂丂丂丂丂丂丂丂丂丂丂丂丂  丂傾僙儞僽儔 
丂丂丂丂丂丂丂丂丂丂丂丂丂丂丂丂丂亄亅亅亅亄
丂丂丂僜乕僗丒僼傽僀儖柤丂亅亅仺丂乥 FXAS 乥亅亅仺丂僆僽僕僃僋僩
丂丂丂乮僼傽僀儖柤.S乯丂丂丂丂丂丂亄亅亅亅亄丂丂丂丂乮僼傽僀儖柤.o乯
      亄亅亅亅亅亅亅亅亅亅亄          乥            亄亅亅亅亅亅亅亅亅亅亅亅亄
亄亅仺乥   .include"h.h"  乥          乥     丂丂   乥僼傽僀儖僿僢僟        乥
乥    乥   mov r10,r11    乥          乥     丂丂   乥僙僋僔儑儞僿僢僟      乥
乥    乥       丏         乥          乥     丂丂   乥奺僆僽僕僃僋僩偺僨乕僞乥
乥    乥   .word 1        乥          乥     丂丂   乥  丏                  乥
乥    乥       丏         乥          乥     丂丂   乥  丏                  乥
乥    亄亅亅亅亅亅亅亅亅亅亄          乥            亄亅亅亅亅亅亅亅亅亅亅亅亄
乥                                    乥
乥                                    伀
丂僀儞僋儖乕僪僼傽僀儖     丂儕僗僩僼傽僀儖偺弌椡
丂乮僼傽僀儖柤偼擟堄乯丂丂 丂乮僼傽僀儖柤.prn乯
亄亅亅亅亅亅亅亅亅亅亅亄      亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亄
乥   CR .equ $0D      乥      乥       仈僼傽僀儖柤                   乥
乥   NULL .equ 0      乥      乥       峴斣崋丗斣抧丂僜乕僗儕僗僩     乥
乥          丏        乥      乥               丏                     乥
乥          丏        乥      乥               丏                     乥
亄亅亅亅亅亅亅亅亅亅亅亄      亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亄


亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖

戞俀復丂傾僙儞僽儔偺峔暥


仭俀丏侾丂彂幃

僜乕僗僾儘僌儔儉偼師偺傛偆偵峔惉偝傟偰偄傑偡丅堦峴偵懡悢偺柦椷偼婰弎偱偒傑偣
傫丅嬻敀偼僗儁乕僗偐丄僞僽偱偡丅
僯乕儌僯僢僋偲僆儁儔儞僪偺慜偵偼昁偢嬻敀偑昁梫偱偡丅

侾峴偼 255暥帤傑偱偱偡丅
亄亅亅亅亅亄    亄亅亅亅亅亅亅亅亄  亄亅亅亅亅亅亅亄    亄亅亅亅亅亅亄
乥 儔儀儖 乥丗仮乥 僯乕儌僯僢僋 乥仮乥 僆儁儔儞僪 乥乵仮乥 僐儊儞僩 乥乶
亄亅亅亅亅亄    亄亅亅亅亅亅亅亅亄  亄亅亅亅亅亅亅亄    亄亅亅亅亅亅亄

仮偼嬻敀傪帵偟傑偡丅


仭俀丏俀丂暥帤偺巊梡

暥帤偺巊梡偼帺桼偱偡偑丄師偺暥帤偵偼摿庩側梡搑偑偁傝傑偡丅
亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅
暥帤乥梡搑
亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅
 ,  乥僆儁儔儞僪娫偺嬫愗傝婰崋
亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅
 .  乥彫悢揰傑偨偼僾儘僌儔儉僇僂儞僞偺抣
亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅
 #  乥僐儊儞僩偺奐巒傑偨偼懄抣巜掕
亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅
 +  乥壛嶼墘嶼巕
亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅
 -  乥晧晞崋丄尭嶼墘嶼巕
亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅
 *  乥忔嶼墘嶼巕傑偨偼僾儘僌儔儉僇僂儞僞偺抣
亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅
 /  乥彍嶼墘嶼巕
亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅
 (  乥墘嶼弴彉偺曄峏
亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅
 )  乥墘嶼弴彉偺曄峏
亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅
 [  乥娫愙傾僪儗僗偺巜掕
亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅
 ]  乥娫愙傾僪儗僗偺巜掕
亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅
 :  乥儔儀儖偺寛掕
亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅
 ;  乥峴摢媦傃峴枛偺僐儊儞僩
亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅
 '  乥暥帤掕悢偺奐巒偲廔椆
亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅
 "  乥暥帤楍掕悢偺奐巒偲廔椆
亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅
 !  乥斀揮
亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅
 ^  乥攔懠揑榑棟榓
亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅
 |  乥榑棟榓
亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅
 &  乥榑棟愊
亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅
 %  乥忚梋傑偨偼俀恑悢偺愙摢帿
亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅
 >> 乥塃僔僼僩
亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅
 << 乥嵍僔僼僩
亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅


仭俀丏俁丂梊栺岅

侾乯摿庩儗僕僗僞柤

epic丂eipsw丂fepc丂fepsw丂ecr丂psw丂pir丂tkcw丂chcw丂adtre丂icer

俀乯媈帡柦椷

媈帡柦椷偼乭. 乭傪徣棯偟偰巊梡偟偰傕偐傑偄傑偣傫丅
亅亅亅亅亄亅亅亅亅亄亅亅亅亅亄亅亅亅亅亄亅亅亅亅亄亅亅亅亅亅亅
.align  乥.allpub 乥.ascii  乥.bgnb   乥.bgnf   乥.binclude
亅亅亅亅亄亅亅亅亅亄亅亅亅亅亄亅亅亅亅亄亅亅亅亅亄亅亅亅亅亅亅
.bss    乥.byte   乥.comm   乥.data   乥.db     乥.dbdef
亅亅亅亅亄亅亅亅亅亄亅亅亅亅亄亅亅亅亅亄亅亅亅亅亄亅亅亅亅亅亅
.defs   乥.defseg 乥.dh     乥.ds     乥.dw     乥.else
亅亅亅亅亄亅亅亅亅亄亅亅亅亅亄亅亅亅亅亄亅亅亅亅亄亅亅亅亅亅亅
.elseif 乥.end    乥.endb   乥.endf   乥.ends   乥.entry
亅亅亅亅亄亅亅亅亅亄亅亅亅亅亄亅亅亅亅亄亅亅亅亅亄亅亅亅亅亅亅
.equ    乥.exitm  乥.extern 乥.extrn  乥.fail   乥.file
亅亅亅亅亄亅亅亅亅亄亅亅亅亅亄亅亅亅亅亄亅亅亅亅亄亅亅亅亅亅亅
.globl  乥.hword  乥.ifb    乥.ifcon  乥.ifdef  乥.ifdif
亅亅亅亅亄亅亅亅亅亄亅亅亅亅亄亅亅亅亅亄亅亅亅亅亄亅亅亅亅亅亅
.iff    乥.ifidn  乥.ifnb   乥.ifndef 乥.include乥.lall
亅亅亅亅亄亅亅亅亅亄亅亅亅亅亄亅亅亅亅亄亅亅亅亅亄亅亅亅亅亅亅
.lcomm  乥.list   乥.ln     乥.local  乥.nextern乥.nextrn
亅亅亅亅亄亅亅亅亅亄亅亅亅亅亄亅亅亅亅亄亅亅亅亅亄亅亅亅亅亅亅
.nlist  乥.public 乥.rept   乥.sall   乥.seg    乥.set
亅亅亅亅亄亅亅亅亅亄亅亅亅亅亄亅亅亅亅亄亅亅亅亅亄亅亅亅亅亅亅
.sline  乥.space  乥.str    乥.struct 乥.strz   乥.text
亅亅亅亅亄亅亅亅亅亄亅亅亅亅亄亅亅亅亅亄亅亅亅亅亄亅亅亅亅亅亅
.word   乥.zextern乥.zextrn 乥        乥        乥
亅亅亅亅亄亅亅亅亅亄亅亅亅亅亄亅亅亅亅亄亅亅亅亅亄亅亅亅亅亅亅


師偺媈帡柦椷偼摨堦偱偡丅

亅亅亅亅亅亅亅亄亅亅亅亅亅亅亅亅亅亅
.db 亖 .byte  乥.space 亖 .ds
亅亅亅亅亅亅亅亄亅亅亅亅亅亅亅亅亅亅
.dh 亖 .hword 乥.extern 亖 .extrn
亅亅亅亅亅亅亅亄亅亅亅亅亅亅亅亅亅亅
.dw 亖 .word  乥.nextern 亖 .nextrn
亅亅亅亅亅亅亅亄亅亅亅亅亅亅亅亅亅亅
.ascii 亖 .str乥.zextern 亖 .zextrn
亅亅亅亅亅亅亅亄亅亅亅亅亅亅亅亅亅亅

俁乯僾儘僌儔儉僇僂儞僞

.乮僺儕僆僪乯, *乮傾僗僞儕僗僋乯


仭俀丏係  僐儊儞僩

乬;乭埲崀偺暥帤傪拲庍偲偟偰埖偄傑偡丅
峴偺愭摢偐傜彂偔偲偒偼乬#乭 傪巊梡偡傞偙偲偑偱偒傑偡丅	


仭俀丏俆  僔儞儃儖

師偺暥帤偱嶌傜傟傞暥帤楍偱偡丅偨偩偟丄愭摢偵悢帤偼巊梡偱偒傑偣傫丅

塸戝暥帤丄 塸彫暥帤丄悢帤丄 _乮傾儞僟乕僶乕乯丄?丄@丄僔僼僩俰俬俽娍帤

* @偱巒傑傞儔儀儖偼 public, extern偱偒傑偣傫丅偙傟偼丄俠僐儞僷僀儔偑惗惉偡傞
  僜乕僗偱儘乕僇儖儔儀儖偲偟偰巊梡偝傟偰偄傞偨傔偱偡丅


仭俀丏俇丂僱乕儉

僱乕儉偼丄.set丄.equ丄= 媈帡柦椷偱掕媊偡傞僔儞儃儖偱偡丅
僱乕儉偵梊栺岅偼巊梡偱偒傑偣傫丅


仭俀丏俈丂儔儀儖

儔儀儖偺懚嵼偡傞傾僪儗僗傪嶲徠偡傞偨傔偺僔儞儃儖偱偡丅
侾僇儔儉栚偐傜巒傑偭偰偄傞応崌偼儔儀儖偺屻傠偵乬:乭偼昁梫偁傝傑偣傫偑丄侾僇儔
儉栚埲奜偐傜巒傑傞応崌偼儔儀儖偺屻傠偵乬:乭偑昁梫偱偡丅

僾儘僌儔儉僇僂儞僞憡懳儔儀儖偱儕儘働乕僔儑儞偺敪惗偟側偄儔儀儖偼儘乕僇儖儔儀儖
偱僌儘乕僶儖巜掕偟偰偄側偄尷傝丄僔儞儃儖僥乕僽儖偵弌椡偝傟傑偣傫丅傑偨丄儔儀儖
偺屻偵丄乬:乭傪俀偮婰弎偡傞偲偦偺儔儀儖偼僌儘乕僶儖埖偄偵側傝傑偡丅

枖丄儔儀儖柤偵偼僯乕儌僯僢僋丄媈帡柦椷埲奜偺梊栺岅傪巜掕偟偰偼偄偗傑偣傫丅
乮儗僕僗僞柤傗墘嶼巕柤側偳乯

乻椺乼

    label       仺丂峴摢側偺偱乬 : 乭偑昁梫偁傝傑偣傫丅
丂    label:    仺丂侾僇儔儉栚埲奜偐傜巒傑偭偰偄傞偺偱乬 : 乭偑昁梫偱偡丅
    label::     仺丂僌儘乕僶儖愰尵偟偨偲偟偰埖傢傟傑偡丅


仭俀丏俉丂枹掕媊奜晹柤

堦搙傕儔儀儖偲偟偰掕媊偣偢偵丄巊梡偝傟偨僔儞儃儖偼枹掕媊奜晹柤偱偡丅

u 僗僀僢僠偵傛偭偰奜晹嶲徠僔儞儃儖偲偡傞偙偲偑偱偒傑偡丅
u 僗僀僢僠傪巜掕偣偢偵枹掕媊僔儞儃儖傪巊梡偡傞偲僄儔乕偵側傝傑偡丅


仭俀丏俋丂悢抣掕悢

悢抣掕悢偵偼丄侾侽恑悢丄侾俇恑悢丄俉恑悢丄俀恑悢偑偁傝傑偡丅

侾乯侾侽恑悢
摿庩側巜掕偺側偄尷傝10恑悢偲尒側偟傑偡丅
巜掕偱偒傞斖埻偼丄亅4294967295 乣 4294967295 偱偡丅

俀乯侾俇恑悢
0x, 0X, $ 偱巒傑傝偦偺屻偵悢帤偐丄暥帤 a乣f 傑偨偼 A乣F 偑懕偒傑偡丅
傑偨偼 0 偱巒傑傝丄偦偺屻偵悢帤偐丄暥帤 a乣f 傑偨偼 A乣F 偑懕偄偨応崌偺嵟屻偵 h
傑偨偼 H 偑偮偒傑偡丅
巜掕偱偒傞斖埻偼丄-$ffffffff 乣 $ffffffff 偱偡丅

乻椺乼
    0xa5,$64,0C9h

俁乯俉恑悢
0o, 0O, \傑偨偼乢偱巒傑傝偦偺屻偵 0乣7 偑懕偒傑偡丅
傑偨偼 0乣7 偑懕偄偨応崌偺嵟屻偵 q 傑偨偼 Q 偑晅偒傑偡丅
巜掕偱偒傞斖埻偼丄亅乢37777777777 乣 乢37777777777 偱偡丅

乻椺乼
    0o700,\644,177Q

係乯晜摦彫悢揰悢
悢帤偍傛傃彫悢揰偐傜側傞暥帤楍偱偡丅
巜悢昞尰偑婰弎壜擻偱偡丅
巜掕偱偒傞斖埻偼丄-3.40282347E+38乣3.40282347E+38

乻椺乼
    1.1丆1.1E+1

俆乯俀恑悢
% 偱巒傑傝偦偺屻偵 0,1 偑懕偒傑偡丅
傑偨偼 0,1 偑懕偄偨応崌偺嵟屻偵 b 傑偨偼 B 偑晅偒傑偡丅
巜掕偱偒傞斖埻偼丄-%11111111111111111111111111111111 乣
 %11111111111111111111111111111111偱偡丅

乻椺乼
    %110,111b

偦偺懠偵丄侾侽恑悢丄侾俇恑悢丄俉恑悢丄俀恑悢偵 _ 乮傾儞僟乕僶乕乯偑嬫愗傝婰崋
偲偟偰巊偊傑偡丅

乻椺乼
    0x1234_5678

拲乯悢抣掕悢偼桳岠側悢抣偲偟偰丄屻傠偐傜敾抐偟傑偡丅寘偁傆傟偼偍偙偝側偄偺偱拲
堄偟偰壓偝偄丅

乻椺乼
    mov    #$123456789,rg0
               伀
    mov    #$23456789,rg0丂丂偲偟偰丂夝庍偝傟傑偡丅


仭俀丏侾侽 丂 幃

侾乯墘嶼巕

墘嶼巕偼師偺傕偺偑巊梡偱偒傑偡
亅亅亅亅亅亅亅亅亄亅亅亅亄亅亅亅亅亅亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅
庬椶            乥墘嶼巕乥墘嶼 丂丂丂丂丂 乥拲堄
亅亄亅亅亅亅亅亅亄亅亅亅亄亅亅亅亅亅亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅
  乥bit墘嶼巕   乥仌    乥bit偛偲偺and墘嶼乥
  乥            亄亅亅亅亄亅亅亅亅亅亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅
  乥            乥乥    乥bit偛偲偺or墘嶼 乥
  乥            亄亅亅亅亄亅亅亅亅亅亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅
  乥            乥丱    乥bit偛偲偺xor墘嶼乥
  亄亅亅亅亅亅亅亄亅亅亅亄亅亅亅亅亅亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅
  乥嶼弍墘嶼巕  乥亄    乥懌偟嶼          乥
  乥            亄亅亅亅亄亅亅亅亅亅亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅
  乥            乥亅    乥堷偒嶼          乥
  乥            亄亅亅亅亄亅亅亅亅亅亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅
  乥            乥仏    乥妡偗嶼          乥
  乥            亄亅亅亅亄亅亅亅亅亅亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅
擇乥            乥乛    乥妱傝嶼丂丂      乥
崁乥            亄亅亅亅亄亅亅亅亅亅亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅
墘乥            乥亾    乥忚梋丂丂丂丂丂丂乥慜屻偵嬻敀偑昁梫 
嶼乥            亄亅亅亅亄亅亅亅亅亅亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅
巕乥            乥mod   乥                乥
  亄亅亅亅亅亅亅亄亅亅亅亄亅亅亅亅亅亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅
  乥僔僼僩墘嶼巕乥亜亜  乥塃僔僼僩丂丂丂丂乥a>>b偼a傪b價僢僩塃僔僼僩
  乥            亄亅亅亅亄亅亅亅亅亅亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅
  乥  丂丂丂丂丂乥lsr丂 乥        丂 丂丂 乥忋婰摨條乮a lsr b乯
  乥            亄亅亅亅亄亅亅亅亅亅亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅
  乥  丂丂丂丂丂乥亙亙  乥嵍僔僼僩丂丂丂丂乥a<<b偼a傪b價僢僩嵍僔僼僩
  乥            亄亅亅亅亄亅亅亅亅亅亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅
  乥  丂丂丂丂丂乥lsl   乥丂丂丂丂丂丂丂丂乥忋婰摨條乮a lsl b乯
  乥            亄亅亅亅亄亅亅亅亅亅亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅
  乥  丂丂丂丂丂乥asr   乥嶼弍塃僔僼僩丂丂乥晞崋傪斀塮偡傞塃僔僼僩
  亄亅亅亅亅亅亅亄亅亅亅亄亅亅亅亅亅亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅
  乥榑棟墘嶼巕  乥乥乥  乥榑棟榓          乥
  乥            亄亅亅亅亄亅亅亅亅亅亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅
  乥            乥仌仌  乥榑棟愊          乥
亅亄亅亅亅亅亅亅亄亅亅亅亄亅亅亅亅亅亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅

亅亅亅亅亅亅亅亅亄亅亅亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亄亅亅亅亅亅亅
庬椶            乥墘嶼巕    乥墘嶼 丂丂丂丂丂 丂丂丂丂丂丂丂  乥拲堄
亅亄亅亅亅亅亅亅亄亅亅亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亄亅亅亅亅亅亅
  乥嶼弍墘嶼巕丂乥亄丂丂丂  乥抣傪偦偺傑傑巊梡丂丂丂丂丂丂丂丂乥悢抣偼壗傕曄
  乥            乥          乥                                乥傢傜側偄
  乥            亄亅亅亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亄亅亅亅亅亅亅
  乥丂丂丂丂丂丂乥亅丂丂丂  乥晞崋偺斀揮                      乥
  亄亅亅亅亅亅亅亄亅亅亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亄亅亅亅亅亅亅
丂乥價僢僩墘嶼巕乥両丂丂丂  乥榑棟斲掕                        乥
  乥            亄亅亅亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亄亅亅亅亅亅亅
丂乥丂丂丂丂丂丂乥~ 丂丂丂  乥價僢僩斀揮丂丂丂丂丂丂丂丂丂丂丂乥價僢僩墘嶼巕
  亄亅亅亅亅亅亅亄亅亅亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亄亅亅亅亅亅亅
扨乥丂丂丂丂丂丂乥high丂丂  乥侾俇價僢僩偺忋埵俉價僢僩        乥
崁乥            亄亅亅亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亄亅亅亅亅亅亅
墘乥丂丂丂丂丂丂乥low 丂丂  乥侾俇價僢僩偺壓埵俉價僢僩        乥
嶼乥            亄亅亅亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亄亅亅亅亅亅亅
巕乥丂丂丂丂丂丂乥highw(hi) 乥俁俀價僢僩偺忋埵侾俇價僢僩      乥
  乥            亄亅亅亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亄亅亅亅亅亅亅
丂乥丂丂丂丂丂丂乥loww(lo)  乥俁俀價僢僩偺壓埵侾俇價僢僩      乥
  乥            亄亅亅亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亄亅亅亅亅亅亅
丂乥丂丂丂丂丂丂乥hi1       乥俁俀價僢僩偺忋埵侾俇價僢僩亄價僢乥
  乥            乥          乥僩斣崋侾俆偺抣                  乥
  乥            亄亅亅亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亄亅亅亅亅亅亅
丂乥丂丂丂丂丂丂乥sbyte丂   乥巜掕抣偑-128乣+127偺斖埻奜偺帪偵乥
  乥            乥          乥僄儔乕                          乥
  乥            亄亅亅亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亄亅亅亅亅亅亅
丂乥丂丂丂丂丂丂乥rev丂     乥侾俇價僢僩偺忋埵俉價僢僩乛壓    乥
  乥            乥          乥埵俉價僢僩傪岎姺偟偨抣          乥
亅亄亅亅亅亅亅亅亄亅亅亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亄亅亅亅亅亅亅
  乥晞崋柍偟斾妑乥亖亖丆eq  乥摍偟偄                          乥
  乥            亄亅亅亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亄亅亅亅亅亅亅
  乥丂丂丂丂丂丂乥両亖丆ne  乥摍偟偔側偄                      乥
  乥            亄亅亅亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亄亅亅亅亅亅亅
  乥丂丂丂丂丂丂乥亙亖丆le  乥摍偟偄傑偨偼彫偝偄              乥
  乥            亄亅亅亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亄亅亅亅亅亅亅
斾乥丂丂丂丂丂丂乥亙丆lt丂  乥彫偝偄                          乥
  乥            亄亅亅亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亄亅亅亅亅亅亅
妑乥丂丂丂丂丂丂乥亜亖丆ge  乥摍偟偄傑偨偼戝偒偄              乥
  乥            亄亅亅亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亄亅亅亅亅亅亅
墘乥丂丂丂丂丂丂乥亜丆gt丂  乥戝偒偄                          乥
  亄亅亅亅亅亅亅亄亅亅亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亄亅亅亅亅亅亅
嶼乥晞崋晅偒斾妑乥亖亖丆eq  乥摍偟偄                          乥
  乥            亄亅亅亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亄亅亅亅亅亅亅
巕乥丂丂丂丂丂丂乥両亖丆ne  乥摍偟偔側偄                      乥
  乥            亄亅亅亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亄亅亅亅亅亅亅
丂乥丂丂丂丂丂丂乥sle 丂丂  乥摍偟偄傑偨偼彫偝偄              乥
  乥            亄亅亅亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亄亅亅亅亅亅亅
丂乥丂丂丂丂丂丂乥slt       乥彫偝偄                          乥
  乥            亄亅亅亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亄亅亅亅亅亅亅
丂乥丂丂丂丂丂丂乥sge丂     乥摍偟偄傑偨偼戝偒偄              乥
  乥            亄亅亅亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亄亅亅亅亅亅亅
丂乥丂丂丂丂丂丂乥sgt       乥戝偒偄                          乥
亅亄亅亅亅亅亅亅亄亅亅亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亄亅亅亅亅亅亅

俀乯桪愭弴埵

墘嶼巕偺桪愭弴埵偼師偺捠傝偱偡丅
亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亄亅亅亅亅
墘嶼巕                                                      乥桪愭弴埵
亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亄亅亅亅亅
亄乮扨崁墘嶼巕乯丂亅乮扨崁墘嶼巕乯丂両丂high丂low丂highw(hi)乥 崅偄
loww(lo)丂hi1丂sbyte丂rev丂~                                乥
亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亄  仾
         仏丂乛丂亾丂mod丂亜亜丂lsr丂亙亙丂lsl丂asr         乥  乥
亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亄  乥
                           亄丂亅                           乥  乥
亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亄  乥
     亖亖丂両亖丂亙丂亙亖丂亜丂亜亖丂slt丂sle丂sgt丂sge     乥  乥
亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亄  乥
                             仌                             乥  乥
亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亄  乥
                           乥丂丱                           乥  乥
亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亄  乥
                            仌仌                            乥  伀
亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亄
                            乥乥                            乥 掅偄
亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亄亅亅亅亅


俁乯墘嶼婯懃

師偺宆偑墘嶼偺懳徾偲側傝傑偡丅

abs    惍悢傑偨偼僱乕儉
rel    儔儀儖
ext    枹掕媊奜晹柤

墘嶼寢壥偺宆丄偁傞偄偼墘嶼偑壜擻偐偳偆偐偼師偺傛偆偵側傝傑偡丅

仠俀崁墘嶼巕
亅亄亅亅亅亄亅亅亅亅亅亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅
丂乥墘嶼巕乥丂丂丂 亄   丂丂乥丂丂丂亅
亅亄亅亅亅亄亅亅亄亅亅亄亅亅亄亅亅亄亅亅亄亅亅亅亅亅
  乥戞俀丂乥abs 乥rel 乥ext 乥abs 乥rel 乥ext
亅亄亅亅亅亄亅亅亄亅亅亄亅亅亄亅亅亄亅亅亄亅亅亅亅亅
戞乥abs   乥abs 乥rel 乥ext 乥abs 乥rel 乥ext
堦乥      乥    乥    乥    乥    乥    乥
僆亄亅亅亅亄亅亅亄亅亅亄亅亅亄亅亅亄亅亅亄亅亅亅亅亅
儁乥rel 丂乥rel 乥abs 乥ext 乥rel 乥abs 乥亊
儔乥      乥    乥    乥    乥    乥    乥
儞亄亅亅亅亄亅亅亄亅亅亄亅亅亄亅亅亄亅亅亄亅亅亅亅亅
僪乥ext 丂乥ext 乥ext 乥ext 乥亊丂乥亊  乥ext
  乥      乥    乥    乥    乥    乥    乥
亅亄亅亅亅亄亅亅亄亅亅亄亅亅亄亅亅亄亅亅亄亅亅亅亅亅
亅亄亅亅亅亅亅亅亅亅亅亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅
  乥墘嶼巕    仏 偍傛傃 乛  乥 ^ 丂乥丂& 丂>> 丂<<
亅亄亅亅亅亄亅亅亄亅亅亄亅亅亄亅亅亄亅亅亄亅亅亅亅亅
  乥戞俀  乥abs 乥rel 乥ext 乥abs 乥rel 乥ext
亅亄亅亅亅亄亅亅亄亅亅亄亅亅亄亅亅亄亅亅亄亅亅亅亅亅
戞乥abs   乥abs 乥亊  乥亊  乥abs 乥亊  乥亊
堦乥      乥    乥    乥    乥    乥    乥
僆亄亅亅亅亄亅亅亄亅亅亄亅亅亄亅亅亄亅亅亄亅亅亅亅亅
儁乥rel   乥亊  乥亊  乥亊  乥rel 乥亊  乥亊
儔乥      乥    乥    乥    乥    乥    乥
儞亄亅亅亅亄亅亅亄亅亅亄亅亅亄亅亅亄亅亅亄亅亅亅亅亅
僪乥ext   乥亊  乥亊  乥ext 乥ext 乥亊  乥ext
  乥      乥    乥    乥    乥    乥    乥
亅亄亅亅亅亄亅亅亄亅亅亄亅亅亄亅亅亄亅亅亄亅亅亅亅亅
* rel + rel 丄rel - rel 偺 abs 偼摨堦僙僋僔儑儞偺傒丅
rel 墘嶼巕 abs 偲 ext 墘嶼巕 abs 偼 shift 偲 & 偺傒巊梡壜擻丅
ext 偲 ext 偺墘嶼偼傾僙儞僽儖帪偵偼抣傪峫椂偟側偄丅
亊偼墘嶼偱偒側偄偙偲傪帵偟傑偡丅

仠扨崁墘嶼巕
亅亅亅亅亅亄亅亅亅亅亅亄亅亅亅亅亅亄亅亅亅亅亅
僆儁儔儞僪乥亅丂丂丂丂乥亄丂丂丂丂乥~ 偍傛傃 !
亅亅亅亅亅亄亅亅亅亅亅亄亅亅亅亅亅亄亅亅亅亅亅
abs   丂丂乥abs   丂丂乥abs 丂丂丂乥abs
亅亅亅亅亅亄亅亅亅亅亅亄亅亅亅亅亅亄亅亅亅亅亅
rel   丂丂乥亊    丂丂乥rel 丂丂丂乥亊
亅亅亅亅亅亄亅亅亅亅亅亄亅亅亅亅亅亄亅亅亅亅亅
ext   丂丂乥ext   丂丂乥ext 丂丂丂乥ext
亅亅亅亅亅亄亅亅亅亅亅亄亅亅亅亅亅亄亅亅亅亅亅
* 亊偼墘嶼偑偱偒側偄偙偲傪帵偟傑偡丅


仭俀丏侾侾丂暥帤楍掕悢

扨堦堷梡晞乮乫乯傑偨偼擇廳堷梡晞乮乭乯偱埻傑傟偨暥帤楍偱偡丅
僨乕僞妋曐帪偼係暥帤埲忋婰弎偱偒傑偡丅暥帤掕悢偲偟偰幃拞偱巊梡偡傞偲偒偼係暥帤
傑偱偱偡丅偦傟埲忋偩偲僄儔乕偵側傝傑偡丅

僄僗働乕僾暥帤傕巊梡偱偒傑偡偑丄e 僗僀僢僠偵傛偭偰柍岠壔偡傞偙偲偑偱偒傑偡丅
乮僄僗働乕僾暥帤偵偮偄偰偼師崁嶲徠乯


仭俀丏侾俀丂僄僗働乕僾暥帤

暥帤楍拞乮乬乭偺拞乯傑偨偼暥帤掕悢拞乮乪乫偺拞乯偱師偺僄僗働乕僾暥帤傪僒億乕僩
偟偰偄傑偡丅

亅亅亅亅亅亅亅亄亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅
僄僗働乕僾暥帤乥抣丂乥堄枴
亅亅亅亅亅亅亅亄亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅
      a       乥0x07乥儀儖
亅亅亅亅亅亅亅亄亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅
      t       乥0x09乥僞僽
亅亅亅亅亅亅亅亄亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅
      n       乥0x0a乥夵峴
亅亅亅亅亅亅亅亄亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅
      b       乥0x08乥僶僢僋僗儁乕僗
亅亅亅亅亅亅亅亄亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅
      f       乥0x0c乥夵儁乕僕
亅亅亅亅亅亅亅亄亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅
      v       乥0x0b乥悅捈僞僽
亅亅亅亅亅亅亅亄亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅
      r       乥0x0d乥暅婣
亅亅亅亅亅亅亅亄亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅
      \       乥0x5c乥僶僢僋僗儔僢僔儏傕偟偔偼亸儅乕僋
亅亅亅亅亅亅亅亄亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅
      乬      乥0x22乥俀廳堷梡晞
亅亅亅亅亅亅亅亄亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅
      乪      乥0x27乥堷梡晞
亅亅亅亅亅亅亅亄亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅
     xdd      乥 丂 乥侾俇恑悢偺巜掕
亅亅亅亅亅亅亅亄亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅
     ddd      乥 丂 乥俉恑悢偺巜掕
亅亅亅亅亅亅亅亄亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅


亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖

戞俁復丂倁俉侾侽 傾僪儗僢僔儞僌儌乕僪

傾僪儗僢僔儞僌儌乕僪偺愢柧偲偟偰埲壓偺棯徧傪梡偄傑偡丅

  亄亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亄
丂乥reg丂 乥儗僕僗僞                  乥
  亄亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亄
丂乥psw 丂乥僔僗僥儉儗僕僗僞          乥
  亄亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亄
仛乥imm5  乥懄抣5bit                  乥仼懄抣儌乕僪偼丄偦偺愭摢偵 '#' 傪晅偗傞
  亄亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亄丂昁梫偑偁傝傑偡丅巜掕偺柍偄応崌偼丄僛
仛乥imm16 乥懄抣16bit                 乥丂儘儁乕僕僔儞儃儖偲偟偰擣幆偝傟傑偡丅
  亄亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亄
仛乥imm32 乥懄抣32bit                 乥
  亄亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亄
丂乥expr  乥墘嶼巕傪娷傓抣            乥
  亄亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亄
仛乥disp9 乥僨傿僗僾儗乕僗儊儞僩9bit  乥
  亄亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亄
仛乥disp16乥僨傿僗僾儗乕僗儊儞僩16bit 乥
  亄亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亄
仛乥disp26乥僨傿僗僾儗乕僗儊儞僩26bit 乥
  亄亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亄
丂乥label 乥儔儀儖                    乥
  亄亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亄
丂乥ext丂 乥奜晹僔儞儃儖              乥
  亄亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亄
丂乥zp    乥僛儘儁乕僕僔儞儃儖        乥仼乮'#' 傪晅偗側偄 -$8000 偐傜 $7fff
  亄亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亄丂丂偺悢抣巜掕乯
丂乥gps丂 乥gp儗僕僗僞憡懳僔儞儃儖    乥
  亄亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亄
拲堄丗棑奜偺仛報偵偮偄偰偼丄屻弎偺亂傾僪儗僢僔儞僌儌乕僪恾夝亃傪偛嶲徠壓偝偄丅

  亄亅亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亄
仛乥(reg)   乥儊儌儕嶲徠乮壓婰偺昞婰傪娷傓乯                  乥
  亄亅亅亅亅亄亅亅亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亄
仛乥丂丂丂  乥乮亄reg乯 乥僾儕僀儞僋儕儊儞僩                  乥
  亄亅亅亅亅亄亅亅亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亄
仛乥丂丂丂  乥乮亅reg乯 乥僾儕僨僋儕儊儞僩                    乥
  亄亅亅亅亅亄亅亅亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亄
仛乥丂丂丂  乥乮reg亄乯 乥億僗僩僀儞僋儕儊儞僩                乥
  亄亅亅亅亅亄亅亅亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亄
仛乥丂丂丂  乥乮reg亅乯 乥億僗僩僨僋儕儊儞僩                  乥
  亄亅亅亅亅亄亅亅亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亄
仛乥[reg]   乥儊儌儕嶲徠                                      乥
  亄亅亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亄
仛乥[label] 乥僀儞僟僀儗僋僩儊儌儕嶲徠                        乥
  亄亅亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亄
丂乥reglist 乥儗僕僗僞儕僗僩乮rg0, rg1丂傑偨偼丂rg1亅rg7摍乯  乥
  亄亅亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亄
拲堄丗棑奜偺仛報偵偮偄偰偼丄屻弎偺亂傾僪儗僢僔儞僌儌乕僪恾夝亃傪偛嶲徠壓偝偄丅


亂傾僪儗僢僔儞僌儌乕僪恾夝亃

仠倝倣倣俆 懄抣俆倐倝倲
亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亄
乥丂ex.    mov        #$1A,rg0                                              乥
乥                     ---                                                  乥
乥   V810               乥                                                  乥
乥  亄亅亅亅亅亅亅亅亅亄乥                                                  乥
乥  乥      亄亅亅亅亅亄亄                                                  乥
乥  乥亄亅亅伀亅亄    乥                                                    乥
乥  乥乥$1A     乥rg0 乥                                                    乥
乥  乥亄亅亅亅亅亄    乥                                                    乥
亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亄  


仠倝倣倣侾俇 懄抣侾俇倐倝倲
亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亄
乥丂ex.    addi       #$1111,rg0,rg1                                        乥
乥                     -----                                                乥
乥                      乥                                                  乥
乥   V810               乥                                                  乥
乥  亄亅亅亅亅亅亅亅亅亄乥                                                  乥
乥  乥亄亅亅亅亅亄    乥乥                                                  乥
乥  乥乥$1234   乥rg0 乥乥                                                  乥
乥  乥亄亄亅亅亅亄    乥乥                                                  乥
乥  乥  亄亅亄亅亅亅亅亄亄                                                  乥
乥  乥亄亅亅伀亅亄    乥                                                    乥
乥  乥乥$2345   乥rg1 乥                                                    乥
乥  乥亄亅亅亅亅亄    乥                                                    乥
亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亄


仠倝倣倣俁俀 懄抣俁俀倐倝倲
亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亄
乥丂ex.    lea      #32768,rg0  亅亅亅亅亅亅仺  movhi  #hi1(32768),zero,rg0 乥
乥                   -----       儅僋儘揥奐     movea  #lo(32768),rg0,rg0   乥
乥   V810               乥                                                  乥
乥  亄亅亅亅亅亅亅亅亅亄乥                                                  乥
乥  乥      亄亅亅亅亅亄亄                                                  乥
乥  乥亄亅亅伀亅亄    乥                                                    乥
乥  乥乥32768   乥rg0 乥                                                    乥
乥  乥亄亅亅亅亅亄    乥                                                    乥
亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亄  


仠倓倝倱倫俋 僨傿僗僾儗乕僗儊儞僩俋倐倝倲
亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亄
乥丂ex.    bra丂丂    $08                                                   乥
乥                                                                          乥
乥   V810                  V810                                             乥
乥  亄亅亅亅亅亅亅亅亅亄  亄亅亅亅亅亅亅亅亅亄                              乥
乥  乥亄亅亅亅亅亄    乥  乥亄亅亅亅亅亄    乥                              乥
乥  乥乥$8200   乥PC  乥仺乥乥$8208   乥PC  乥                              乥
乥  乥亄亅亅亅亅亄    乥  乥亄亅亅亅亅亄    乥                              乥
亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亄


仠倓倝倱倫侾俇 僨傿僗僾儗乕僗儊儞僩侾俇倐倝倲
亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亄
乥丂ex.    st.b 丂    rg0,$1000(rg1)                                        乥
乥                                                                          乥
乥   V810                        MEMORY                                     乥
乥  亄亅亅亅亅亅亅亅亅亄                                                    乥
乥  乥                乥        乥              乥                          乥
乥  乥      亄亅亅亅亅亄亅亅亅亅亄亅亄          乥                          乥
乥  乥亄亅亅亄亅亄    乥        亄亅伀亅亅亅亅亅亄                          乥
乥  乥乥$1A     乥rg0 乥        乥丂丂$1A       乥仼亅亄                    乥
乥  乥亄亅亅亅亅亄    乥   9200H亄亅亅亅亅亅亅亅亄    乥                    乥
乥  乥亄亅亅亅亅亄    乥        乥              乥    乥$1000               乥
乥  乥乥$8200   乥rg1 乥   8200H亄亅亅亅亅亅亅亅亄亅亅亄                    乥
乥  乥亄亅亅亅亅亄    乥        乥              乥                          乥
亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亄


仠倓倝倱倫俀俇 僨傿僗僾儗乕僗儊儞僩俀俇倐倝倲
亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亄
乥丂ex.    jr 丂丂    $1000                                                 乥
乥                                                                          乥
乥   V810                  V810                                             乥
乥  亄亅亅亅亅亅亅亅亅亄  亄亅亅亅亅亅亅亅亅亄                              乥
乥  乥亄亅亅亅亅亄    乥  乥亄亅亅亅亅亄    乥                              乥
乥  乥乥$8200   乥PC  乥仺乥乥$9200   乥PC  乥                              乥
乥  乥亄亅亅亅亅亄    乥  乥亄亅亅亅亅亄    乥                              乥
亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亄


仠乮reg乯 儊儌儕嶲徠
亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亄
乥丂ex.    ld.b 丂    $1000(rg1),rg0                                        乥
乥                                                                          乥
乥   V810                        MEMORY                                     乥
乥  亄亅亅亅亅亅亅亅亅亄                                                    乥
乥  乥                乥        乥              乥                          乥
乥  乥      亄亅亅亅亅亄亅亅亅亅亄亅亄          乥                          乥
乥  乥亄亅亅伀亅亄    乥        亄亅亄亅亅亅亅亅亄                          乥
乥  乥乥$1A     乥rg0 乥        乥    $1A       乥仼亅亄                    乥
乥  乥亄亅亅亅亅亄    乥   9200H亄亅亅亅亅亅亅亅亄    乥                    乥
乥  乥亄亅亅亅亅亄    乥        乥              乥    乥$1000               乥
乥  乥乥$8200   乥rg1 乥   8200H亄亅亅亅亅亅亅亅亄亅亅亄                    乥
乥  乥亄亅亅亅亅亄    乥        乥              乥                          乥
亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亄


仠乮亄倰倕倗乯    僾儕僀儞僋儕儊儞僩
亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亄
乥丂ex.    mov.b  0(+rg0),rg1 亅亅亅亅亅仺 add    #1,rg0                    乥
乥                            儅僋儘揥奐   ld.b   0(rg0),rg1                乥
乥                                                                          乥
乥 V810                    V810                      MEMORY                 乥
乥亄亅亅亅亅亅亅亅亅亄    亄亅亅亅亅亅亅亅亅亄                              乥
乥乥                乥    乥                乥      乥              乥      乥
乥乥                乥 +1 乥                乥      亄亅亅亅亅亅亅亅亄      乥
乥乥        亄亅亅亅亄亅亅亄亅亄            乥      乥  $12         乥仼亄  乥
乥乥亄亅亅亅亄亄    乥    乥亄伀亅亅亅亄    乥 8201H亄亄亅亅亅亅亅亅亄  乥1 乥
乥乥乥$8200   乥rg0 乥 仺 乥乥$8201   乥rg0 乥      乥乥            乥  乥  乥
乥乥亄亅亅亅亅亄    乥    乥亄亅亅亅亅亄    乥 8200H亄亄亅亅亅亅亅亅亄亅亄  乥
乥乥                乥    乥亄亅亅亅亅亄    乥      乥乥            乥      乥
乥乥                乥    乥乥$12     乥rg1 乥      乥乥            乥      乥
乥乥                乥    乥亄亅亅亅仾亄    乥      乥乥            乥      乥
乥                                  亄亅亅亅亅亅亅亅亅亄                    乥
亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亄


仠乮亅倰倕倗乯    僾儕僨僋儕儊儞僩
亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亄
乥丂ex.    mov.b  0(-rg0),rg1 亅亅亅亅亅仺 add    #-1,rg0                   乥
乥                            儅僋儘揥奐   ld.b   0(rg0),rg1                乥
乥                                                                          乥
乥 V810                    V810                      MEMORY                 乥
乥亄亅亅亅亅亅亅亅亅亄    亄亅亅亅亅亅亅亅亅亄                              乥
乥乥                乥 丂 乥                乥      乥              乥      乥
乥乥                乥 -1 乥                乥      亄亅亅亅亅亅亅亅亄      乥
乥乥        亄亅亅亅亄亅亅亄亅亄            乥      乥              亄亅亄  乥
乥乥亄亅亅亅亄亄    乥    乥亄伀亅亅亅亄    乥 8200H亄亅亅亅亅亅亅亅亄  乥-1乥
乥乥乥$8200   乥rg0 乥 仺 乥乥$81FF   乥rg0 乥      乥  $56         乥  乥  乥
乥乥亄亅亅亅亅亄    乥    乥亄亅亅亅亅亄    乥 81FFH亄亄亅亅亅亅亅亅亄仼亄  乥
乥乥                乥    乥亄亅亅亅亅亄    乥      乥乥            乥      乥
乥乥                乥    乥乥$56     乥rg1 乥      乥乥            乥      乥
乥乥                乥    乥亄亅亅亅仾亄    乥      乥乥            乥      乥
乥                                  亄亅亅亅亅亅亅亅亅亄                    乥
亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亄


仠乮倰倕倗亄乯    億僗僩僀儞僋儕儊儞僩
亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亄
乥丂ex.    mov.b  0(rg0+),rg1 亅亅亅亅亅仺 ld.b   0(rg0),rg1                乥
乥                            儅僋儘揥奐   add    #1,rg0                    乥
乥                                                                          乥
乥 V810                      MEMORY                  V810                   乥
乥亄亅亅亅亅亅亅亅亅亄                              亄亅亅亅亅亅亅亅亅亄    乥
乥乥亄亅亅亅亅亄    乥      乥              乥      乥亄亅亅亅亅亄    乥    乥
乥乥乥$8400   乥rg0 乥      亄亅亅亅亅亅亅亅亄      乥乥$8401   乥rg0 乥    乥
乥乥亄亅亅亅亅亄    乥      乥      $34     乥  仺  乥亄亅亅亅亅亄    乥    乥
乥乥亄亅亅亅亅亄    乥 8400H亄亅亄亅亅亅亅亅亄      乥                乥    乥
乥乥乥$34     乥rg1 乥      乥  乥          乥      乥                乥    乥
乥乥亄亅亅亅仾亄    乥      乥  乥          乥      乥                乥    乥
乥乥        亄亅亅亅亄亅亅亅亄亅亄          乥      乥                乥    乥
乥乥                乥      乥              乥      乥                乥    乥
亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亄


仠乮倰倕倗亅乯    億僗僩僨僋儕儊儞僩
亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亄
乥丂ex.    mov.b  0(rg0-),rg1 亅亅亅亅亅仺 ld.b   0(rg0),rg1                乥
乥                            儅僋儘揥奐   add    #-1,rg0                   乥
乥                                                                          乥
乥 V810                      MEMORY                  V810                   乥
乥亄亅亅亅亅亅亅亅亅亄                              亄亅亅亅亅亅亅亅亅亄    乥
乥乥亄亅亅亅亅亄    乥      乥              乥      乥亄亅亅亅亅亄    乥    乥
乥乥乥$8200   乥rg0 乥      亄亅亅亅亅亅亅亅亄      乥乥$81FF   乥rg0 乥    乥
乥乥亄亅亅亅亅亄    乥      乥      $34     乥  仺  乥亄亅亅亅亅亄    乥    乥
乥乥亄亅亅亅亅亄    乥 8200H亄亅亄亅亅亅亅亅亄      乥                乥    乥
乥乥乥$34     乥rg1 乥      乥  乥          乥      乥                乥    乥
乥乥亄亅亅亅仾亄    乥      乥  乥          乥      乥                乥    乥
乥          亄亅亅亅亅亅亅亅亅亅亄                                          乥
亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亄


仠乵倰倕倗乶丂丂儊儌儕嶲徠

乮reg乯偲摨條偱偡丅


仠乵倢倎倐倕倢乶    僀儞僟僀儗僋僩儊儌儕嶲徠
亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亄
乥                                          movhi  #hi1($8200),zero,at      乥
乥丂ex.    mov.b  0[$8200],rg0 亅亅亅亅亅仺 movea  #lo($8200),at,at         乥
乥                            儅僋儘揥奐    ld.w   0(at),at                 乥
乥                                          ld.b   0(at),rg0                乥
乥                                                                          乥
乥 V810                            MEMORY                                   乥
乥          亄亅亅亅亅亅亅亅亅亅亅亅亅亅亄                                  乥
乥亄亅亅亅亅亄亅亅亅亄                  乥                                  乥
乥乥亄亅亅亅伀亄    乥            亄亅亅亄亅亅亅亅亄                        乥
乥乥乥$1A丂丂 乥rg0 乥            乥      $1A     乥                        乥
乥乥亄亅亅亅亅亄    乥   12345678H亄亅亅亅亅亅亅亅亄                        乥
乥乥                乥            乥              乥                        乥
乥乥                乥            乥              乥                        乥
乥乥                乥            乥              乥                        乥
乥乥                乥            亄亅亅亅亅亅亅亅亄                        乥
乥乥                乥            乥      $12     乥                        乥
乥乥                乥       8203H亄亅亅亅亅亅亅亅亄                        乥
乥乥                乥            乥      $34     乥                        乥
乥乥                乥       8202H亄亅亅亅亅亅亅亅亄                        乥
乥乥                乥            乥      $56     乥                        乥
乥乥                乥       8201H亄亅亅亅亅亅亅亅亄                        乥
乥乥                乥            乥      $78     乥                        乥
乥乥                乥       8200H亄亅亅亅亅亅亅亅亄                        乥
乥乥                乥            乥              乥                        乥
亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亄


僼儔僌偺奺價僢僩傪埲壓偺婰崋偱昞偟傑偡丅
亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅
S 乥Sign flag
  乥晧側傜恀丅
亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅
Z 乥Zero flag
  乥侽側傜恀丅
亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅
V 乥Overflow flag
  乥僆乕僶乕僼儘乕偑敪惗偟偨傜恀丅
亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅
C 乥Carry flag
  乥僉儍儕乕偑偁傟偽恀丅
亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅

晜摦彫悢揰墘嶼柦椷偱塭嬁傪庴偗傞僼儔僌傪埲壓偺婰崋偱昞偟傑偡丅
亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅
R 乥 Floating Reserved Operand
  乥 梊栺嵪傒僆儁儔儞僪椺奜偑敪惗偟偨傜恀丅
亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅
I 乥 Floating Invalid
  乥 柍岠墘嶼偑敪惗偟偨傜恀丅
亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅
Z 乥 Floating Zero Divide
  乥 侽彍嶼偑敪惗偟偨傜恀丅
亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅
O 乥 Floating Overflow
  乥 僆乕僶乕僼儘乕偑敪惗偟偨傜恀丅
亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅
U 乥 Floating Underflow
  乥 傾儞僟乕僼儘乕偑敪惗偟偨傜恀丅
亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅
P 乥 Floating Precision
  乥 惛搙棊偪偑敪惗偟偨傜恀丅
亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅

僼儔僌偺曄壔偼埲壓偺婰崋偱帵偟傑偡丅
亅亄亅亅亅亅亅亅亅亅亅亅亅
亅乥塭嬁側偟丅
亅亄亅亅亅亅亅亅亅亅亅亅亅
仏乥忬懺偵傛偭偰塭嬁偁傝丅
亅亄亅亅亅亅亅亅亅亅亅亅亅
侽乥侽偵側傞丅
亅亄亅亅亅亅亅亅亅亅亅亅亅


仭俁丏侾丂婡夿岅柦椷

仠儘乕僪丒僗僩傾柦椷
亅亅亅亄亅亅亅亅亄亅亅亅亅亅亅亅亅亄亅亅亅亅亅亅亅
      乥        乥    丂          乥僼儔僌偺曄壔
柦椷  乥mnemonic乥僆儁儔儞僪      亄亅亅亅亅亅亅亅
      乥    丂丂乥丂丂丂丂丂丂丂丂乥丂俽倅倁俠
亅亅亅亄亅亅亅亅亄亅亅亅亅亅亅亅亅亄亅亅亅亅亅亅亅
      乥ld.b    乥                乥
      亄亅亅亅亅亄                乥
儘乕僪乥ld.h    乥disp16(reg),reg 乥
      亄亅亅亅亅亄                乥
    丂乥ld.w    乥  丂丂丂丂丂丂丂乥
亅亅亅亄亅亅亅亅亄亅亅亅亅亅亅亅亅亄  亅亅亅亅
      乥st.b    乥                乥
      亄亅亅亅亅亄                乥
僗僩傾乥st.h    乥reg,disp16(reg) 乥
      亄亅亅亅亅亄                乥
    丂乥st.w    乥                乥
亅亅亅亄亅亅亅亅亄亅亅亅亅亅亅亅亅亄亅亅亅亅亅亅亅
* ld.b, ld.h 偼偦傟偧傟侾僶僀僩丄侾僴乕僼儚乕僪偺抣傪晞崌奼挘偟偰儗僕僗僞偵
擖傟傑偡丅

仠嶼弍墘嶼柦椷
亅亅亅亄亅亅亅亅亄亅亅亅亅亅亅亅亄亅亅亅亅亅亅亄亅亅亅
      乥        乥              乥僼儔僌偺曄壔乥
柦椷  乥mnemonic乥僆儁儔儞僪    亄亅亅亅亅亅亅亄亅亅亅
      乥    丂丂乥丂丂丂丂丂丂丂乥丂俽倅倁俠  乥
亅亅亅亄亅亅亅亅亄亅亅亅亅亅亅亅亄亅亅亅亅亅亅亄亅亅亅
戙擖  乥mov     乥reg,reg       乥丂亅亅亅亅  乥
      乥 丂丂丂 乥#imm5,reg     乥丂亅亅亅亅  乥
亅亅亅亄亅亅亅亅亄亅亅亅亅亅亅亅亄亅亅亅亅亅亅亄亅亅亅
      乥add     乥reg,reg    丂 乥丂仏仏仏仏  乥
      乥丂丂丂丂乥#imm5,reg     乥丂仏仏仏仏  乥
      亄亅亅亅亅亄亅亅亅亅亅亅亅亄亅亅亅亅亅亅亄亅亅亅
壛嶼  乥addi    乥              乥  仏仏仏仏  乥
      亄亅亅亅亅亄#imm16,reg,reg亄亅亅亅亅亅亅亄亅亅亅
    丂乥movea   乥              乥  亅亅亅亅  乥
      亄亅亅亅亅亄亅亅亅亅亅亅亅亄亅亅亅亅亅亅亄亅亅亅
    丂乥movhi   乥#imm16,reg,reg乥  亅亅亅亅  乥
亅亅亅亄亅亅亅亅亄亅亅亅亅亅亅亅亄亅亅亅亅亅亅亄亅亅亅
尭嶼  乥sub     乥reg,reg    丂 乥丂仏仏仏仏  乥
亅亅亅亄亅亅亅亅亄亅亅亅亅亅亅亅亄亅亅亅亅亅亅亄亅亅亅
      乥mul     乥           丂 乥丂仏仏仏亅  乥仏俁仏
忔嶼  亄亅亅亅亅亄reg,reg       亄亅亅亅亅亅亅亄亅亅亅
      乥mulu    乥           丂 乥丂仏仏仏亅  乥仏俁仏
亅亅亅亄亅亅亅亅亄亅亅亅亅亅亅亅亄亅亅亅亅亅亅亄亅亅亅
      乥div     乥           丂 乥丂仏仏仏亅  乥仏侾仏
彍嶼  亄亅亅亅亅亄reg,reg       亄亅亅亅亅亅亅亄亅亅亅
    丂乥divu    乥 丂丂丂丂   丂乥丂仏仏仏亅  乥仏侾仏
亅亅亅亄亅亅亅亅亄亅亅亅亅亅亅亅亄亅亅亅亅亅亅亄亅亅亅
斾妑  乥cmp     乥reg,reg       乥  仏仏仏仏  乥
      乥丂丂丂丂乥#imm5,reg     乥丂仏仏仏仏  乥
亅亅亅亄亅亅亅亅亄亅亅亅亅亅亅亅亄亅亅亅亅亅亅亄亅亅亅
僼儔僌乥setf    乥#imm5,reg     乥丂亅亅亅亅  乥仏俀仏
亅亅亅亄亅亅亅亅亄亅亅亅亅亅亅亅亄亅亅亅亅亅亅亄亅亅亅
*1) div,divu偼彜傪戞俀僆儁儔儞僪偱巜掕偝傟偨儗僕僗僞偵擖傟丄梋傝傪 ut儗僕僗僞
偵擖傟傑偡丅
*2) setf偼 imm5偺壓埵係價僢僩偺帵偡忦審偲僼儔僌偺忬懺傪斾妑偟丄堦抳偡傞応崌
侾丄堦抳偟側偄応崌偵侽傪儗僕僗僞偵擖傟傑偡丅
*3)mul,mulu偼丄僆儁儔儞僪偱巜掕偝傟偨俀偮偺儚乕僪丄僨乕僞傪忔嶼偟丄偦偺寢壥
乮僟僽儖丒儚乕僪挿乯偺忋埵32價僢僩傪ut儗僕僗僞偵丄壓埵32價僢僩傪戞俀僆儁儔儞僪
偺儗僕僗僞偵擖傟傑偡丅

仠榑棟墘嶼柦椷
亅亅亅亅亅亅亄亅亅亅亅亄亅亅亅亅亅亅亅亄亅亅亅亅亅亅
    丂丂    乥        乥              乥僼儔僌偺曄壔
柦椷        乥mnemonic乥僆儁儔儞僪    亄亅亅亅亅亅亅
            乥丂丂丂丂乥丂丂丂丂丂丂丂乥丂俽倅倁俠
亅亅亅亅亅亅亄亅亅亅亅亄亅亅亅亅亅亅亅亄亅亅亅亅亅亅
    丂      乥and     乥reg,reg    丂 乥
榑棟愊      亄亅亅亅亅亄亅亅亅亅亅亅亅亄  仏仏侽亅
    丂      乥andi    乥#imm16,reg,reg乥
亅亅亅亅亅亅亄亅亅亅亅亄亅亅亅亅亅亅亅亄亅亅亅亅亅亅
    丂      乥or    丂乥reg,reg    丂 乥
榑棟榓      亄亅亅亅亅亄亅亅亅亅亅亅亅亄  仏仏侽亅
    丂丂    乥ori     乥#imm16,reg,reg乥
亅亅亅亅亅亅亄亅亅亅亅亄亅亅亅亅亅亅亅亄亅亅亅亅亅亅
            乥xor     乥reg,reg    丂 乥
攔懠揑榑棟榓亄亅亅亅亅亄亅亅亅亅亅亅亅亄  仏仏侽亅
            乥xori    乥#imm16,reg,reg乥
亅亅亅亅亅亅亄亅亅亅亅亄亅亅亅亅亅亅亅亄亅亅亅亅亅亅
斲掕    丂丂乥not     乥reg,reg    丂 乥丂仏仏侽亅
亅亅亅亅亅亅亄亅亅亅亅亄亅亅亅亅亅亅亅亄亅亅亅亅亅亅
嵍SHIFT     乥shl     乥         丂丂 乥
亅亅亅亅亅亅亄亅亅亅亅亄reg,reg丂     乥
塃SHIFT     乥shr     乥#imm5,reg 丂丂乥丂仏仏侽亅
亅亅亅亅亅亅亄亅亅亅亅亄              乥
嶼弍 塃SHIFT乥sar     乥              乥
亅亅亅亅亅亅亄亅亅亅亅亄亅亅亅亅亅亅亅亄亅亅亅亅亅亅

仠擖弌椡柦椷
亅亅亄亅亅亅亅亄亅亅亅亅亅亅亅亅亄亅亅亅亅亅亅
    乥        乥丂丂丂          乥僼儔僌偺曄壔
柦椷乥mnemonic乥僆儁儔儞僪      亄亅亅亅亅亅亅
    乥丂丂丂丂乥丂丂丂丂丂丂    乥丂俽倅倁俠
亅亅亄亅亅亅亅亄亅亅亅亅亅亅亅亅亄亅亅亅亅亅亅
    乥in.b    乥                乥
    亄亅亅亅亅亄                乥
擖椡乥in.h    乥disp16(reg),reg 乥丂亅亅亅亅
    亄亅亅亅亅亄                乥
    乥in.w    乥                乥
亅亅亄亅亅亅亅亄亅亅亅亅亅亅亅亅亄亅亅亅亅亅亅
    乥out.b   乥                乥
    亄亅亅亅亅亄                乥
弌椡乥out.h   乥reg,disp16(reg) 乥  亅亅亅亅
    亄亅亅亅亅亄                乥
    乥out.w   乥                乥
亅亅亄亅亅亅亅亄亅亅亅亅亅亅亅亅亄亅亅亅亅亅亅

仠暘婒柦椷
亅亅亅亅亅亄亅亅亅亅亄亅亅亅亅亅亄亅亅亅亅亅亅
    丂    乥        乥          乥僼儔僌偺曄壔
柦椷      乥mnemonic乥僆儁儔儞僪亄亅亅亅亅亅亅
          乥丂丂丂丂乥丂丂丂丂丂乥丂俽倅倁俠
亅亅亅亅亅亄亅亅亅亅亄亅亅亅亅亅亄亅亅亅亅亅亅
丂丂丂丂丂乥jmp     乥reg       乥
          亄亅亅亅亅亄亅亅亅亅亅亄
柍忦審暘婒乥br    丂乥disp9     乥丂亅亅亅亅
          亄亅亅亅亅亄亅亅亅亅亅亄
    丂丂丂乥jr    丂乥disp26    乥
亅亅亅亅亅亄亅亅亅亅亄亅亅亅亅亅亄亅亅亅亅亅亅
call丂丂丂乥jal     乥disp26    乥丂亅亅亅亅
亅亅亅亅亅亄亅亅亅亅亄亅亅亅亅亅亄亅亅亅亅亅亅
          乥beq     乥          乥
          亄亅亅亅亅亄          乥
    丂丂丂乥bne     乥          乥
忦審暘婒  亄亅亅亅亅亄disp9     乥丂亅亅亅亅
丂丂丂丂  乥bhi     乥          乥
          亄亅亅亅亅亄          乥
丂丂丂丂  乥bhs     乥          乥
          亄亅亅亅亅亄          乥
丂丂丂丂  乥bls     乥          乥
          亄亅亅亅亅亄          乥
丂丂丂丂  乥blo     乥          乥
          亄亅亅亅亅亄          乥
丂丂丂丂  乥bgt     乥 丂丂丂丂 乥
          亄亅亅亅亅亄          乥
丂丂丂丂  乥bge     乥 丂丂丂丂 乥
          亄亅亅亅亅亄          乥
丂丂丂丂  乥ble     乥          乥
          亄亅亅亅亅亄          乥
丂丂丂丂  乥blt     乥          乥
  丂丂丂丂亄亅亅亅亅亄    丂丂丂乥
丂丂丂丂  乥bpl     乥          乥
          亄亅亅亅亅亄          乥
丂丂丂丂  乥bmi     乥          乥
          亄亅亅亅亅亄          乥
丂丂丂丂  乥bvs     乥          乥
          亄亅亅亅亅亄          乥
丂丂丂丂  乥bvc     乥          乥
          亄亅亅亅亅亄          乥
丂丂丂丂  乥bcs     乥          乥
          亄亅亅亅亅亄          乥
丂丂丂丂  乥bcc     乥          乥
          亄亅亅亅亅亄          乥
丂丂丂丂  乥bz      乥          乥
          亄亅亅亅亅亄          乥
丂丂丂丂  乥bnz     乥          乥
          亄亅亅亅亅亄          乥
丂丂    丂乥bl      乥丂丂丂丂丂乥
          亄亅亅亅亅亄          乥
    丂丂丂乥bnl丂   乥          乥
亅亅亅亅亅亄亅亅亅亅亄亅亅亅亅亅亄亅亅亅亅亅亅
no-op     乥nop丂丂 乥側偟    丂乥丂亅亅亅亅
亅亅亅亅亅亄亅亅亅亅亄亅亅亅亅亅亄亅亅亅亅亅亅

仠價僢僩僗僩儕儞僌柦椷
亅亅亅亅亅亄亅亅亅亅亄亅亅亅亅亅亄亅亅亅亅亅亅
    丂    乥        乥          乥僼儔僌偺曄壔
柦椷      乥mnemonic乥僆儁儔儞僪亄亅亅亅亅亅亅
          乥丂丂丂丂乥丂丂丂丂丂乥丂俽倅倁俠
亅亅亅亅亅亄亅亅亅亅亄亅亅亅亅亅亄亅亅亅亅亅亅
          乥sch0bsu 乥    丂    乥丂亅仏亅亅
          亄亅亅亅亅亄          亄亅亅亅亅亅亅
    丂丂丂乥sch0bsd 乥     丂丂 乥丂亅仏亅亅
bit string亄亅亅亅亅亄側偟      亄亅亅亅亅亅亅
    丂丂丂乥sch1bsu 乥     丂丂 乥丂亅仏亅亅
          亄亅亅亅亅亄          亄亅亅亅亅亅亅
    丂丂丂乥sch1bsd 乥     丂丂 乥丂亅仏亅亅
          亄亅亅亅亅亄          亄亅亅亅亅亅亅
    丂丂丂乥movbsu  乥    丂丂丂乥丂亅亅亅亅
          亄亅亅亅亅亄          亄亅亅亅亅亅亅
    丂丂丂乥notbsu  乥    丂丂丂乥丂亅亅亅亅
丂丂丂丂丂亄亅亅亅亅亄    丂丂  亄亅亅亅亅亅亅
    丂丂丂乥andbsu  乥    丂丂丂乥丂亅亅亅亅
          亄亅亅亅亅亄          亄亅亅亅亅亅亅
    丂丂丂乥andnbsu 乥     丂丂 乥丂亅亅亅亅
          亄亅亅亅亅亄          亄亅亅亅亅亅亅
    丂丂丂乥orbsu   乥   丂丂丂 乥丂亅亅亅亅
          亄亅亅亅亅亄          亄亅亅亅亅亅亅
    丂丂丂乥ornbsu  乥    丂丂丂乥丂亅亅亅亅
          亄亅亅亅亅亄          亄亅亅亅亅亅亅
    丂丂丂乥xorbsu  乥    丂丂丂乥丂亅亅亅亅
          亄亅亅亅亅亄          亄亅亅亅亅亅亅
    丂丂丂乥xornbsu 乥     丂丂 乥丂亅亅亅亅
亅亅亅亅亅亄亅亅亅亅亄亅亅亅亅亅亄亅亅亅亅亅亅

仜sch0bsu, sch0bsd, sch1bsu, sch1bsd 偼埲壓偺儗僕僗僞偺愝掕偵婎偯偒丄嵟弶偵専
弌偟偨價僢僩偺侾價僢僩愭偺價僢僩傾僪儗僗傪 ut儗僕僗僞, rs7 偵擖傟丄専弌傑偱偵
僗僉僢僾偟偨價僢僩悢傪 rs9 偵懌偟丄rs8 偐傜尭傜偟傑偡丅
亅亅亅亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅
儗僕僗僞    乥梡搑
亅亅亅亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅
rs7 (bssof) 乥愭摢偺價僢僩偺儚乕僪撪價僢僩僆僼僙僢僩
亅亅亅亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅
rs8 (bslen) 乥價僢僩挿
亅亅亅亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅
ut (bssrc)  乥愭摢偺價僢僩偺懚嵼偡傞儚乕僪偺傾僪儗僗
亅亅亅亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅

仜movbsu, notbsu, andbsu, andnbsu, orbsu, ornbsu, xorbsu, xornbsu 偼丄埲壓偺
儗僕僗僞偺愝掕偵婎偯偒柦椷傪幚峴偟傑偡丅
亅亅亅亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅
儗僕僗僞    乥梡搑
亅亅亅亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅
rs6 (bsdof) 乥僨傿僗僥傿僱乕僔儑儞偺儚乕僪撪價僢僩僆僼僙僢僩
亅亅亅亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅
rs7 (bssof) 乥愭摢偺價僢僩偺儚乕僪撪價僢僩僆僼僙僢僩
亅亅亅亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅
rs8 (bslen) 乥價僢僩挿
亅亅亅亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅
rs9 (bsdst) 乥僨傿僗僥傿僱乕僔儑儞偺懚嵼偡傞儚乕僪偺傾僪儗僗
亅亅亅亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅
ut (bssrc)  乥愭摢偺價僢僩偺懚嵼偡傞儚乕僪偺傾僪儗僗
亅亅亅亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅

仠晜摦彫悢揰墘嶼柦椷
亅亅亄亅亅亅亅亄亅亅亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅
    乥        乥          乥丂丂丂丂僼儔僌偺曄壔
柦椷乥mnemonic乥僆儁儔儞僪亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅
    乥      丂乥丂丂丂丂丂乥丂俽倅倁俠丂丂俼俬倅俷倀俹
亅亅亄亅亅亅亅亄亅亅亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅
斾妑乥cmpf.s  乥          乥丂仏仏侽仏丂  仏亅亅亅亅亅
亅亅亄亅亅亅亅亄reg,reg 丂亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅
彫悢乥cvt.sw  乥    丂丂丂乥丂仏仏侽亅丂  仏仏亅亅亅仏
    亄亅亅亅亅亄          亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅
 伀 乥trnc.sw 乥    丂丂丂乥丂仏仏侽亅丂  仏仏亅亅亅仏
    亄亅亅亅亅亄          亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅
惍悢乥        乥          乥
亅亅亄亅亅亅亅亄          亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅
惍悢乥        乥    丂丂丂乥
    乥        乥          乥
 伀 乥cvt.ws  乥  丂丂丂丂乥  仏仏侽仏丂  亅亅亅亅亅仏
    乥        乥          乥
彫悢乥        乥          乥
亅亅亄亅亅亅亅亄          亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅
壛嶼乥addf.s  乥    丂丂丂乥丂仏仏侽仏丂  仏亅亅仏仏仏
亅亅亄亅亅亅亅亄          亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅
尭嶼乥subf.s  乥    丂丂丂乥丂仏仏侽仏丂  仏亅亅仏仏仏
亅亅亄亅亅亅亅亄          亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅
忔嶼乥mulf.s  乥    丂丂丂乥丂仏仏侽仏丂  仏亅亅仏仏仏
亅亅亄亅亅亅亅亄          亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅
彍嶼乥divf.s  乥    丂丂丂乥丂仏仏侽仏丂  仏仏仏仏仏仏
亅亅亄亅亅亅亅亄亅亅亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅

仠摿庩柦椷
亅亅亅亅亅亅亅亅亅亄亅亅亅亅亄亅亅亅亅亅亅亅亅亄亅亅亅亅亅亅
丂丂丂丂丂丂丂    乥        乥丂丂丂          乥僼儔僌偺曄壔
柦椷              乥mnemonic乥僆儁儔儞僪      亄亅亅亅亅亅亅
            丂丂丂乥丂丂丂丂乥丂丂丂丂丂丂丂丂乥丂俽倅倁俠
亅亅亅亅亅亅亅亅亅亄亅亅亅亅亄亅亅亅亅亅亅亅亅亄亅亅亅亅亅亅
僔僗僥儉儗僕僗僞傊乥ldsr    乥reg,psw         乥
偺儘乕僪    丂丂丂乥        乥丂   丂丂       乥
亅亅亅亅亅亅亅亅亅亄亅亅亅亅亄亅亅亅亅亅亅亅亅亄  亅亅亅亅
僔僗僥儉儗僕僗僞偺乥stsr    乥psw,reg         乥
撪梕偺僗僩傾    丂乥        乥                乥
亅亅亅亅亅亅亅亅亅亄亅亅亅亅亄亅亅亅亅亅亅亅亅亄亅亅亅亅亅亅
妱崬    丂丂丂丂丂乥trap    乥imm5    丂丂丂丂乥丂亅亅亅亅
亅亅亅亅亅亅亅亅亅亄亅亅亅亅亄亅亅亅亅亅亅亅亅亄亅亅亅亅亅亅
斾妑岎姺    丂丂丂乥caxi    乥disp16(reg),reg 乥  仏仏仏仏
亅亅亅亅亅亅亅亅亅亄亅亅亅亅亄亅亅亅亅亅亅亅亅亄亅亅亅亅亅亅
掆巭    丂丂丂丂丂乥halt    乥        丂丂丂丂乥丂亅亅亅亅
亅亅亅亅亅亅亅亅亅亄亅亅亅亅亄                亄亅亅亅亅亅亅
    丂丂丂丂丂    乥reti    乥側偟丂丂丂丂丂丂乥丂仏仏仏仏
暅婣              亄亅亅亅亅亄                亄亅亅亅亅亅亅
    丂丂丂丂丂丂丂乥rts     乥 丂丂丂丂丂丂丂 乥丂亅亅亅亅
亅亅亅亅亅亅亅亅亅亄亅亅亅亅亄亅亅亅亅亅亅亅亅亄亅亅亅亅亅亅


仭俁丏俀丂儅僋儘柦椷

仠暘婒儅僋儘
亅亅亅亅亄亅亅亅亅亄亅亅亅亅亅亄亅亅亅亅亅亅
        乥        乥          乥僼儔僌偺曄壔
柦椷    乥mnemonic乥僆儁儔儞僪亄亅亅亅亅亅亅
        乥丂丂丂丂乥丂丂丂丂丂乥  俽倅倁俠
亅亅亅亅亄亅亅亅亅亄亅亅亅亅亅亄亅亅亅亅亅亅
        乥jeq     乥          乥
        亄亅亅亅亅亄          乥
    丂丂乥jne     乥          乥
忦審暘婒亄亅亅亅亅亄disp 26   乥丂亅亅亅亅
  丂丂丂乥jhi     乥          乥
        亄亅亅亅亅亄          乥
    丂丂乥jhs     乥          乥
        亄亅亅亅亅亄          乥
   丂丂 乥jls     乥          乥
        亄亅亅亅亅亄          乥
  丂丂丂乥jlo     乥          乥
        亄亅亅亅亅亄          乥
    丂丂乥jgt     乥丂丂丂丂丂乥
        亄亅亅亅亅亄          乥
    丂丂乥jge     乥 丂丂丂丂 乥
        亄亅亅亅亅亄          乥
    丂丂乥jle     乥          乥
        亄亅亅亅亅亄          乥
    丂丂乥jlt     乥          乥
        亄亅亅亅亅亄          乥
    丂丂乥jpl     乥          乥
        亄亅亅亅亅亄          乥
    丂丂乥jmi     乥          乥
        亄亅亅亅亅亄          乥
    丂丂乥jvs     乥          乥
        亄亅亅亅亅亄          乥
    丂丂乥jvc     乥          乥
        亄亅亅亅亅亄          乥
    丂丂乥jz      乥          乥
        亄亅亅亅亅亄          乥
    丂丂乥jnz     乥          乥
        亄亅亅亅亅亄          乥
    丂丂乥jl      乥          乥
        亄亅亅亅亅亄          乥
    丂丂乥jnl     乥          乥
亅亅亅亅亄亅亅亅亅亄亅亅亅亅亅亄亅亅亅亅亅亅

仠戙擖儅僋儘
亅亅亅亄亅亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亄亅亅亅亅亅亅
丂    乥        乥    丂丂丂丂丂丂丂          乥僼儔僌偺曄壔
柦椷  乥mnemonic乥僆儁儔儞僪                  亄亅亅亅亅亅亅
      乥丂丂丂丂乥丂丂丂丂丂丂    丂丂丂丂丂丂乥丂俽倅倁俠
亅亅亅亄亅亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亄亅亅亅亅亅亅
    丂乥lea     乥label,reg                   乥
      乥丂丂丂丂乥imm16,reg    丂丂丂丂丂丂丂 乥丂亅亅亅亅
      乥丂丂丂丂乥imm32,reg                   乥
      亄亅亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亄亅亅亅亅亅亅
    丂乥mov     乥psw,reg    丂丂丂丂丂丂丂丂 乥丂亅亅亅亅
      乥丂丂丂丂乥reg,psw    丂丂丂丂丂丂丂丂 乥
      亄亅亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亄亅亅亅亅亅亅 
      乥丂丂丂丂乥disp(reg),reg    丂丂丂丂丂 乥
      乥mov.b 丂乥reg,disp(reg)               乥
      乥mov.h 丂乥label,reg                   乥丂亅亅亅亅
      乥mov.w 丂乥reg,label                   乥
      乥mov.s 丂乥zp,reg                      乥
      乥丂丂丂丂乥reg,zp                      乥
      乥mov.ub丂乥disp[reg],reg               乥
      乥mov.uh丂乥reg,disp[reg]               乥
    丂乥mov.uw  乥disp[label],reg             乥
    丂乥        乥reg,disp[label]             乥
    丂乥        乥disp(reg+),reg              乥
    丂乥        乥disp(+reg),reg              乥
      乥      丂乥disp(reg-),reg              乥
      乥        乥disp(-reg),reg              乥
    丂乥        乥reg,disp(reg+)              乥
    丂乥        乥reg,disp(+reg)              乥
      乥丂丂丂丂乥reg,disp(reg-)              乥
      乥丂丂丂丂乥reg,disp(-reg)              乥
      乥丂丂丂丂乥#ext,reg                    乥
      乥丂丂丂丂乥#ext,disp(reg)              乥
      乥丂丂丂丂乥#ext,label( zextern symbol )乥
      乥丂丂丂丂乥reg,reg                     乥
      乥丂丂丂丂乥imm5,reg                    乥
      乥丂丂丂丂乥imm16,reg                   乥
      乥丂丂丂丂乥imm32,reg                   乥
亅亅亅亄亅亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亄亅亅亅亅亅亅
      乥ld.ub   乥                            乥
儘乕僪乥ld.uh   乥disp(reg),reg 丂丂丂丂丂丂丂乥丂亅亅亅亅
    丂乥ld.uw   乥                            乥
亅亅亅亄亅亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亄亅亅亅亅亅亅
      乥in.ub   乥                            乥
擖椡  乥in.ub   乥                            乥
    丂乥in.uw   乥                            乥
亅亅亅亄亅亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亄亅亅亅亅亅亅
*侾) .s 偲 .w 偼摨偠僒僀僘偱偡丅乮.s : 扨惛搙晜摦彫悢揰梡乯
*俀) 僆儁儔儞僪 #ext 傪巜掕偟偨帪丄僒僀僘偑 .b 偺帪偼 imm5 丄.h 偺帪偼 imm16 
偲偟偰張棟偟傑偡丅
*俁) 儊儌儕偐傜儘乕僪偡傞帪偵丄僒僀僘偵 .ub丄.uh 傪巜掕偟偨帪偼侽奼挘偡傞堊偺
僐乕僪乮and乯傪揥奐偟傑偡丅
*係) 僆儁儔儞僪偵 reg,reg 傪巜掕偟偨帪丄僒僀僘偵 .b丄.h丄.ub丄.uh 傪巜掕偟偨帪
偼丄僼儔僌偑曄壔偡傞応崌傕偁傝傑偡丅乮僔僼僩僐乕僪傪揥奐偡傞堊乯

* 儅僋儘柦椷偺揥奐偵偮偄偰偼丄亀戞俇復丂柦椷揥奐亁傪嶲徠偟偰壓偝偄丅

仠嶼弍寁嶼儅僋儘
亅亅亅亅亅亄亅亅亅亅亄亅亅亅亅亅亄亅亅亅亅亅亅亅
    丂    乥        乥          乥僼儔僌偺曄壔
柦椷      乥mnemonic乥僆儁儔儞僪亄亅亅亅亅亅亅亅
          乥丂丂丂丂乥丂丂丂丂丂乥丂俽倅倁俠
亅亅亅亅亅亄亅亅亅亅亄亅亅亅亅亅亄亅亅亅亅亅亅亅
          乥inc     乥 丂丂丂   乥
侾憹壛    亄亅亅亅亅亄          乥  仏仏仏仏
    丂丂丂乥add     乥 丂丂丂丂 乥
亅亅亅亅亅亄亅亅亅亅亄reg       亄亅亅亅亅亅亅亅
          乥dec 丂丂乥丂丂丂丂丂乥
侾尭彮    亄亅亅亅亅亄          乥  仏仏仏仏
    丂丂丂乥sub     乥    丂丂丂乥
亅亅亅亅亅亄亅亅亅亅亄          亄亅亅亅亅亅亅亅
          乥shl     乥丂丂丂丂丂乥
          亄亅亅亅亅亄          乥
俽俫俬俥俿乥shr     乥丂丂丂丂丂乥  仏仏仏仏
          亄亅亅亅亅亄          乥
    丂丂丂乥sar     乥          乥
亅亅亅亅亅亄亅亅亅亅亄亅亅亅亅亅亄亅亅亅亅亅亅亅
          乥        乥reg丂丂丂 乥
晞崋斀揮  乥neg     亄亅亅亅亅亅亄  仏仏仏仏
        丂乥丂丂丂丂乥reg,reg   乥
亅亅亅亅亅亄亅亅亅亅亄亅亅亅亅亅亄亅亅亅亅亅亅亅
    丂    乥        乥#imm5,reg 乥
          乥        亄亅亅亅亅亅亄
尭嶼      乥sub丂丂 乥#imm16,reg乥  仏仏仏仏
          乥        亄亅亅亅亅亅亄
        丂乥丂丂丂丂乥#imm32,reg乥
亅亅亅亅亅亄亅亅亅亅亄亅亅亅亅亅亄亅亅亅亅亅亅亅
*儅僋儘柦椷偺揥奐偵偮偄偰偼丄亀戞俇復丂柦椷揥奐亁傪嶲徠偟偰壓偝偄丅

亅亅亅亅亅亅亄亅亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亄亅亅亅亅亅亅亄亅亅亅
        丂丂乥        乥              丂丂丂丂丂丂丂乥僼儔僌偺曄壔乥
柦椷        乥mnemonic乥僆儁儔儞僪                  亄亅亅亅亅亅亅亄
            乥丂丂丂丂乥丂丂丂丂丂丂丂丂丂丂丂丂丂丂乥丂俽倅倁俠  乥
亅亅亅亅亅亅亄亅亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亄亅亅亅亅亅亅亄亅亅亅
        丂丂乥add.b   乥丂丂丂丂丂   丂丂丂丂丂丂丂 乥丂          乥仏侾仏
壛嶼丂丂丂丂乥add.h   乥reg,reg        丂丂丂丂丂丂 乥丂仏仏仏仏  乥仏侾仏
    丂丂丂丂乥add.w   乥reg,disp(reg)        丂丂丂 乥            乥仏侾仏
    丂丂丂丂乥add.s   乥reg,disp[reg]               乥 丂丂丂丂丂 乥仏侾仏
    丂丂丂丂乥add.ub  乥reg,zp   丂          丂丂丂 乥 丂丂丂丂丂 乥仏侾仏
    丂丂丂丂乥add.uh  乥disp(reg),reg  丂丂丂丂丂丂 乥 丂丂丂丂丂 乥仏侾仏
亅亅亅亅亅亅亄亅亅亅亅亄disp[reg],reg               乥            亄亅亅亅
        丂丂乥sub.b   乥disp[ext],reg        丂丂丂 乥 丂丂丂丂丂 乥仏侾仏
尭嶼丂丂丂丂乥sub.h   乥disp[label],reg      丂丂丂 乥 丂丂丂丂丂 乥仏侾仏
    丂丂丂丂乥sub.w   乥zp,reg       丂             乥 丂丂丂丂丂 乥仏侾仏
    丂丂丂丂乥sub.s   乥label,reg            丂丂丂 乥 丂丂丂丂丂 乥仏侾仏
    丂丂丂丂乥sub.ub  乥ext,reg                丂丂 乥 丂丂丂丂丂 乥仏侾仏
    丂丂丂丂乥sub.uh  乥#ext,reg    丂 丂丂丂丂丂丂 乥 丂丂丂丂丂 乥仏侾仏
亅亅亅亅亅亅亄亅亅亅亅亄#ext,disp(reg)  丂     丂丂 乥            亄亅亅亅
忔嶼    丂丂乥mul   丂乥#ext,label (zextern symbol) 乥 丂丂丂丂丂 乥仏侾仏
    丂丂丂丂乥mulu    乥                            乥 丂丂丂丂丂 乥仏侾仏
亅亅亅亅亅亅亄亅亅亅亅亄                            乥            亄亅亅亅
彍嶼    丂丂乥div   丂乥                            乥 丂丂丂丂丂 乥仏侾仏
    丂丂丂丂乥divu    乥                            乥 丂丂丂丂丂 乥仏侾仏
亅亅亅亅亅亅亄亅亅亅亅亄                            乥            亄亅亅亅
          丂乥and.b   乥                            乥 丂丂丂丂丂 乥仏侾仏
榑棟愊丂丂丂乥and.h   乥                            乥 丂丂丂丂丂 乥仏侾仏
      丂丂丂乥and.w 丂乥                            乥 丂丂丂丂丂 乥仏侾仏
    丂丂丂丂乥and.s   乥                            乥 丂丂丂丂丂 乥仏侾仏
    丂丂丂丂乥and.uw  乥                            乥 丂丂丂丂丂 乥仏侾仏
    丂丂丂丂乥and.us  乥                 丂丂丂丂丂 乥 丂丂丂丂丂 乥仏侾仏
亅亅亅亅亅亅亄亅亅亅亅亄                            乥            亄亅亅亅
          丂乥or.b    乥                            乥 丂丂丂丂丂 乥仏侾仏
榑棟榓丂丂丂乥or.h    乥                            乥丂丂丂丂    乥仏侾仏
      丂丂丂乥or.w    乥 丂    丂丂丂丂丂丂丂丂丂丂 乥 丂丂丂丂丂 乥仏侾仏
    丂丂丂丂乥or.s    乥  丂丂丂丂丂丂丂丂丂丂丂丂丂乥丂丂丂丂丂丂乥仏侾仏
    丂丂丂丂乥or.uw   乥       丂丂丂丂丂丂丂丂丂丂 乥 丂丂丂丂丂 乥仏侾仏
    丂丂丂丂乥or.us   乥       丂丂丂丂丂丂丂丂丂丂 乥 丂丂丂丂丂 乥仏侾仏
亅亅亅亅亅亅亄亅亅亅亅亄                            乥            亄亅亅亅
            乥xor.b   乥       丂丂丂丂丂丂丂丂丂丂 乥 丂丂丂丂丂 乥仏侾仏
攔懠揑榑棟榓乥xor.h   乥       丂丂丂丂丂丂丂丂丂丂 乥 丂丂丂丂丂 乥仏侾仏
            乥xor.w   乥       丂丂丂丂丂丂丂丂丂丂 乥 丂丂丂丂丂 乥仏侾仏
    丂丂丂丂乥xor.s   乥       丂丂丂丂丂丂丂丂丂丂 乥 丂丂丂丂丂 乥仏侾仏
    丂丂丂丂乥xor.ub  乥       丂丂丂丂丂丂丂丂丂丂 乥 丂丂丂丂丂 乥仏侾仏
    丂丂丂丂乥xor.uh  乥    丂   丂丂丂丂丂丂丂丂丂 乥 丂丂丂丂丂 乥仏侾仏
亅亅亅亅亅亅亄亅亅亅亅亄丂丂丂丂丂丂丂丂丂丂丂丂丂丂乥            亄亅亅亅
            乥shl.b   乥   丂丂丂丂丂丂丂丂丂丂丂丂 乥丂          乥
嵍俽俫俬俥俿乥shl.h   乥丂丂丂丂                    乥            乥
            乥shl.w 丂乥                            乥            乥
    丂丂丂丂乥shl.s   乥                            乥            乥
    丂丂丂丂乥shl.ub  乥                            乥            乥
    丂丂丂丂乥shl.uh  乥                            乥            乥
亅亅亅亅亅亅亄亅亅亅亅亄                            乥            乥
            乥shr.b   乥                            乥            乥
塃俽俫俬俥俿乥shr.h   乥                            乥            乥
            乥shr.w   乥                            乥            乥
    丂丂丂丂乥shr.s   乥                            乥            乥
    丂丂丂丂乥shr.ub  乥                            乥            乥
    丂丂丂丂乥shr.uh  乥                            乥            乥
亅亅亅亅亅亅亄亅亅亅亅亄                            乥            乥
            乥sar.b   乥                            乥            乥
嶼弍        乥sar.h   乥                            乥            乥
塃俽俫俬俥俿乥sar.w   乥                            乥            乥
    丂丂丂丂乥sar.s   乥                            乥            乥
    丂丂丂丂乥sar.uw  乥                            乥            乥
    丂丂丂丂乥sar.us  乥                            乥            乥
亅亅亅亅亅亅亄亅亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亄亅亅亅亅亅亅亄亅亅亅
        丂丂乥cmp.b   乥(*埲忋偵壛偊偰)             乥丂          乥仏侾仏
斾妑丂丂丂丂乥cmp.h   乥#imm5,disp(reg)        丂   乥丂仏仏仏仏  乥仏侾仏
    丂丂丂丂乥cmp.w   乥#imm5,disp[reg]        丂   乥          丂乥仏侾仏
    丂丂丂丂乥cmp.s   乥reg,expr       丂丂丂丂丂   乥 丂丂丂丂丂 乥仏侾仏
    丂丂丂丂乥cmp.ub  乥        丂丂丂丂丂丂丂丂丂丂乥丂丂丂丂丂丂乥仏侾仏
    丂丂丂丂乥cmp.uh  乥        丂丂丂丂丂丂丂丂丂丂乥丂丂丂丂丂丂乥仏侾仏
亅亅亅亅亅亅亄亅亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亄亅亅亅亅亅亅亄亅亅亅
仏侾仏  僒僀僘偵 .b 傪巜掕偟偨偲偒偼儔儀儖偼 imm5 偲偟偰丄.h 傪巜掕偟偨偲偒偼
 imm16 偲偟偰埖偄傑偡丅.s 偼 .w 偲摨偠偱偡丅

* 儅僋儘柦椷偺揥奐偵偮偄偰偼丄亀戞俇復丂柦椷揥奐亁傪嶲徠偟偰壓偝偄丅

仠摿庩儅僋儘
亅亅亅亅亅亅亄亅亅亅亅亄亅亅亅亅亅亄亅亅亅亅亅亅
    丂丂    乥        乥          乥僼儔僌偺曄壔
柦椷        乥mnemonic乥僆儁儔儞僪亄亅亅亅亅亅亅
            乥丂丂丂丂乥丂丂丂丂丂乥丂俽倅倁俠
亅亅亅亅亅亅亄亅亅亅亅亄亅亅亅亅亅亄亅亅亅亅亅亅
儗僕僗僞懸旔乥push    乥reglist   乥丂亅亅亅亅
亅亅亅亅亅亅亄亅亅亅亅亄亅亅亅亅亅亄亅亅亅亅亅亅
儗僕僗僞暅婣乥pop     乥          乥
亅亅亅亅亅亅亄亅亅亅亅亄亅亅亅亅亅亄亅亅亅亅亅亅

仠僼儔僌儅僋儘
亅亅亅亅亅亅亄亅亅亅亅亄亅亅亅亅亅亄亅亅亅亅亅亅
    丂丂    乥        乥          乥僼儔僌偺曄壔
柦椷        乥mnemonic乥僆儁儔儞僪亄亅亅亅亅亅亅
            乥丂丂丂丂乥丂丂丂丂丂乥丂俽倅倁俠
亅亅亅亅亅亅亄亅亅亅亅亄亅亅亅亅亅亄亅亅亅亅亅亅
            乥setfeq  乥丂   丂   乥
僼儔僌儘乕僪乥setfne  乥reg       乥丂亅亅亅亅
    丂丂丂丂乥setfhi  乥          乥
    丂丂丂丂乥setfhs  乥          乥
    丂丂丂丂乥setfls  乥          乥
    丂丂丂丂乥setflo  乥          乥
            乥setfgt  乥       丂 乥
    丂丂丂丂乥setfge  乥          乥
    丂丂丂丂乥setfle  乥          乥
    丂丂丂丂乥setflt  乥          乥
    丂丂丂丂乥setfpl  乥          乥
    丂丂丂丂乥setfmi  乥          乥
    丂丂丂丂乥setfvs  乥          乥
    丂丂丂丂乥setfvc  乥          乥
    丂丂丂丂乥setfz   乥          乥
    丂丂丂丂乥setfnz  乥          乥
    丂丂丂丂乥setfl   乥          乥
    丂丂丂丂乥setfn1  乥          乥
亅亅亅亅亅亅亄亅亅亅亅亄亅亅亅亅亅亄亅亅亅亅亅亅
*儅僋儘柦椷偺揥奐偵偮偄偰偼丄亀戞俇復丂柦椷揥奐亁傪偛嶲徠壓偝偄丅


仭俁丏俁丂峔憿壔儅僋儘

峔憿壔儅僋儘偱偼 at(r1)傪堦帪嶌嬈儗僕僗僞偲偟偰巊梡偟傑偡丅

仠忦審
亅亅亅亅亄亅亅亅亅 
_if     乥cmpexp
亅亅亅亅亄亅亅亅亅 
_elseif 乥cmpexp
亅亅亅亅亄亅亅亅亅 
_else   乥
亅亅亅亅亄亅亅亅亅 
_endif  乥
亅亅亅亅亄亅亅亅亅 

仠cmpexp 偼師偺梫慺偐傜峔惉偝傟傑偡丅
亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅
cmp   乥斾妑墘嶼巕
亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅
reg   乥儗僕僗僞
亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅
imd   乥懄抣
亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅
memory乥儊儌儕傾僋僙僗傪敽偆傕偺乮$10 (rg0) 側偳乯
亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅
size  乥斾妑偡傞僒僀僘乮.b, .h, .w, .s, .ub, .uh乯
亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅
label 乥儔儀儖
亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅

仠cmpexp 偼埲壓偺傕偺偑巊梡偱偒傑偡丅
亅亅亅亅亅亅亅亅亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅
cmp  丂 丂丂丂丂丂丂丂乥memory丂size丂cmp丂reg
亅亅亅亅亅亅亅亅亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅
reg丂cmp丂imd 丂  丂丂乥(compexp)
亅亅亅亅亅亅亅亅亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅
memory丂cmp丂imd    丂乥! (cmpexp)
亅亅亅亅亅亅亅亅亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅
reg丂cmp丂memory    丂乥cmpexp丂&&丂cmpexp
亅亅亅亅亅亅亅亅亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅
memory丂cmp丂reg    丂乥cmpexp丂乥乥丂cmpexp
亅亅亅亅亅亅亅亅亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅
reg丂cmp丂memory丂size乥cmp,丂label
亅亅亅亅亅亅亅亅亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅

仠memory 偼埲壓偺昞尰偑巊梡偱偒傑偡
亅亅亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅
expr,#expr乥懄抣乮俁亄係側偳墘嶼巕傪娷傓応崌偼丄仈傪偮偗傞乯
亅亅亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅
(reg)  丂 乥儊儌儕嶲徠
亅亅亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅
expr(reg) 乥僆僼僙僢僩晅偒儊儌儕嶲徠
亅亅亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅
[expr]丂丂乥僀儞僟僀儗僋僩儊儌儕嶲徠
亅亅亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅
expr[expr]乥僆僼僙僢僩晅偒僀儞僟僀儗僋僩儊儌儕嶲徠
亅亅亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅

仠cmp偼斾妑幃偱丄埲壓偺傕偺偑巊梡偱偒傑偡丅
亄亅亅亅亅亅亅亅亅亄
乥>               乥
乥>=              乥
乥<               乥
乥<=              乥
乥==              乥
乥!=              乥
乥sgt乮晞崋晅偒乯 乥
乥sge             乥
乥slt             乥
乥sle             乥
亄亅亅亅亅亅亅亅亅亄

仠孞傝曉偟
亅亅亅亅亅亅亄亅亅亅亅亅亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅
    丂丂丂丂乥弶婜壔幃        乥
亅亅亅亅亅亅亄亅亅亅亅亅亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅
_loop[size] 乥disp(reg1),reg2 乥size偼丄.b .h .w .s .ub .uh偑巊梡偱偒傑偡丅
丂丂丂丂丂丂乥丂丂丂丂丂丂丂丂乥徣棯偡傞偲 .w偱偡丅
亅亅亅亅亅亅亄亅亅亅亅亅亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅
_loop[size] 乥 reg1,reg2      乥
亅亅亅亅亅亅亄亅亅亅亅亅亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅
_endloop    乥                乥
亅亅亅亅亅亅亄亅亅亅亅亅亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅
*_loop 偺応崌丄屻傠偵儗僕僗僞偺弶婜壔傪巜掕偡傞偲丄偦偺儗僕僗僞傪儖乕僾僇僂儞
僞偲偟偰儖乕僾傪慻傒傑偡丅

丒弶婜壔幃偑 disp(reg1),reg2 偺応崌偼 reg2偑儖乕僾僇僂儞僞偵側傝傑偡丅
丒弶婜壔幃偑 reg1,reg2 偺応崌偼 reg1 偑儖乕僾僇僂儞僞偵側傝傑偡偺偱拲堄偟偰壓
偝偄丅
丒弶婜壔幃傪徣棯偟偨応崌偼柍尷儖乕僾偵側傞偺偱_break側偳偱扙弌偟偰壓偝偄丅

亅亅亅亅亅亄亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅
    丂丂丂乥忦審  乥
亅亅亅亅亅亄亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅
_while    乥cmpexp乥cmpexp 偑恀偺娫儖乕僾偡傞丅
亅亅亅亅亅亄亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅
_endwhile 乥      乥
亅亅亅亅亅亄亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅
丒_while 乣 _endwhile 偼忦審偑恀偺娫儖乕僾偟傑偡丅

亅亅亅亄亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅
    丂乥忦審  乥
亅亅亅亄亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅
_do   乥      乥
亅亅亅亄亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅
_until乥cmpexp乥cmpexp 偑婾偺娫儖乕僾偡傞丅
亅亅亅亄亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅
丒_do 乣 _until 偼忦審偑婾偺娫儖乕僾偟傑偡

亅亅亅亅亅亄亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅
    丂丂丂乥忦審  乥
亅亅亅亅亅亄亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅
_break    乥cmpexp乥儖乕僾偺扙弌偵巊梡偡傞丅
亅亅亅亅亅亄亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅
_continue 乥cmpexp乥儖乕僾偺愭摢偵栠傞丅
亅亅亅亅亅亄亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅
*_break, _continue 偼忦審幃傪彂偄偨応崌偼偦偺忦審偑恀偺応崌僽儔儞僠偟傑偡丅
徣棯偟偨応崌偼愨懳僽儔儞僠偟傑偡丅


亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖

戞係復丂傾僙儞僽儔偺媈帡柦椷


仭係丏侾丂僙僋僔儑儞掕媊

仧係丏侾丏侾  僆儕僕儞抣偮偒僙僋僔儑儞掕媊

侾乯.text  ["僙僋僔儑儞柤"][,][僆儕僕儞抣]
偙偺媈帡柦椷埲崀傪text僙僋僔儑儞乮柦椷僐乕僪晹乯偵妱傝晅偗傑偡丅

俀乯.data  ["僙僋僔儑儞柤"][,][僆儕僕儞抣]
偙偺媈帡柦椷埲崀傪data乮弶婜壔僨乕僞晹乯僙僋僔儑儞偵妱傝晅偗傑偡丅

俁乯.bss  ["僙僋僔儑儞柤"][,][僆儕僕儞抣]
偙偺媈帡柦椷埲崀傪bss乮旕弶婜壔僨乕僞晹乯僙僋僔儑儞偵妱傝晅偗傑偡丅
偙偺僙僋僔儑儞偱偼 .lcomm 媈帡柦椷偟偐巊梡偱偒傑偣傫丅

係乯婰弎
僙僋僔儑儞柤偼16暥帤偵愗傝媗傔傜傟傑偡丅僙僋僔儑儞柤偑柍偄応崌偼丄媈帡柦椷偺
柤慜偑丄僙僋僔儑儞柤偵側傝傑偡丅

*僙僋僔儑儞柤偼嵟戝64屄偱偡丅

僆儕僕儞抣偼僙僋僔儑儞愭摢偺傾僪儗僗偱偡丅
僙僋僔儑儞媈帡柦椷偑側偄応崌丄.text 偑愰尵偝傟偨偲尒側偟傑偡丅

乻椺乼

    .text                亅 text 僙僋僔儑儞乮柤慜丗.text乯
    .data  "data1"       亅 data 僙僋僔儑儞乮柤慜丗data1乯
    .text                亅 text 僙僋僔儑儞乮柤慜丗.text乯
                         亅 慜偺 text 僙僋僔儑儞偺懕偒偵側傝傑偡丅
    .data 0x1000         亅 data 僙僋僔儑儞乮柤慜丗.data丄僆儕僕儞抣 0x1000乯
    .text  "text2",0x200 亅 text 僙僋僔儑儞
                          丂乮柤慜偲僆儕僕儞抣傪摨帪偵婰弎偡傞応崌乯

俆乯僄儔乕
師偺応崌偼丄僄儔乕偲側傝傑偡丅

仜僆儕僕儞抣偲偟偰侽偑暋悢偺僙僋僔儑儞偐傜巜掕偝傟偨偲偒丅
仜僙僋僔儑儞摨巑偑廳側傞偲丄僆乕僶乕儔僢僾僄儔乕偲側傝傑偡丅


仧係丏侾丏俀丂僆儕僕儞抣側偟柤慜偮偒僙僋僔儑儞掕媊

僙僋僔儑儞僋儔僗偼 text, data, bss, zero, offset 偱偡丅zero 偼懠偺僋儔僗偲摨帪
偵巜掕偡傞昁梫偑偁傝傑偡丅傑偨 text, data, bss 傪摨帪偵巜掕偡傞偙偲偼偱偒傑偣
傫丅

侾乯 .defseg <僙僋僔儑儞柤>[,"僙僋僔儑儞僋儔僗"]
僙僋僔儑儞柤偲僙僋僔儑儞僋儔僗傪掕媊偟傑偡丅

乻椺乼

    .defseg    seg1,"text"        亅 text 僙僋僔儑儞乮柤慜丗seg1乯
    .defseg    seg2,"data"        亅 data 僙僋僔儑儞乮柤慜丗seg2乯
    .defseg    seg3,"bss"         亅 bss  僙僋僔儑儞乮柤慜丗seg3乯 
    .defseg    seg4,"bss,zero"    亅 bss:zero僙僋僔儑儞乮柤慜丗seg4乯
    .defseg    seg5,"data,offset" 亅 data:offset僙僋僔儑儞乮柤慜丗seg5乯
    .defseg    seg6,"bss,offset"  亅 bss:offset僙僋僔儑儞乮柤慜丗seg6乯

僙僋僔儑儞僋儔僗傪巜掕偟側偄応崌偼 "text" 偲偟偰張棟偝傟傑偡

zero僋儔僗偼 -$8000乣$7FFF斣抧偵攝抲偝傟傞僙僋僔儑儞傪掕媊偟傑偡丅
offset僋儔僗偼儗僕僗僞憡懳傾僋僙僗偡傞僙僋僔儑儞傪掕媊偟傑偡丅

乻椺乼

    .defseg    zseg,"data,zero"
    .defseg    rseg,"bss,offset"


乻幚嵺椺乼

丂丂aa.s 偲 bb.s 傪儕儞僋偟偨帪

    aa.s
    --
          defseg    rseg,"bss,offset"
          seg       rseg
    rgp:: ds        10
    --
    
    bb.s
    --
          zextern[gp] rgp
    
          ld.w      rgp,rg0    仺丂丂ld.w    - $8000 + rgp(gp),rg0
    --

僙僋僔儑儞偺愭摢丒廔椆傾僪儗僗偼杮棃偺傾僪儗僗偐傜+$8000偡傞傛偆偵側偭偰偄傑
偡丅

僔儞儃儖抣偼-$8000偐傜巒傑傞傛偆偵側偭偰偄傞偨傔64Kbytes傑偱巊偊傑偡丅

俀乯 .seg <僙僋僔儑儞柤>
埲崀偵偁傞僐乕僪偺懏偡傞僙僋僔儑儞傪巜掕偟傑偡丅
 
乻椺乼

    .seg   seg1


仭係丏俀丂儘働乕僔儑儞僇僂儞僞惂屼

.align <幃>

儘働乕僔儑儞僇僂儞僞偺抣傪巜掕抣偺惍悢攞偵偟傑偡丅幃偺抣偼 1乣1024偺斖埻偺巜掕
偱偡丅儘働乕僔儑儞僇僂儞僞傪恑傔偨暘偵偼 0 偑杽傔傜傟傑偡丅


仭係丏俁丂僔儞儃儖偺愰尵

侾乯.globl <僔儞儃儖>,<僔儞儃儖>,丒丒丒
僔儞儃儖傪奜晹嶲徠掕媊偲偟傑偡丅懠偺僼傽僀儖偐傜嶲徠偡傞偙偲偑偱偒傑偡丅
僜乕僗拞偵側偄儔儀儖偼奜晹偵掕媊偝傟偰偄傞傕偺偲傒側偟傑偡丅

丂丂僔儞儃儖::

僟僽儖僐儘儞巜掕傪偡傞偲奜晹嶲徠掕媊偵側傝傑偡丅

俀乯.extrn <僔儞儃儖>,<僔儞儃儖>,丒丒丒
丂丂.extern <僔儞儃儖>,<僔儞儃儖>,丒丒丒
奜晹偱掕媊偝傟偨嶲徠壜擻側僔儞儃儖偺愰尵傪偟傑偡丅

俁乯.public <僔儞儃儖>,<僔儞儃儖>,丒丒丒
丂丂.entry <僔儞儃儖>,<僔儞儃儖>,丒丒丒

奜晹偐傜嶲徠壜擻側僔儞儃儖偺愰尵傪偟傑偡丅

係乯.allpub
偡傋偰偺僔儞儃儖傪奜晹偐傜嶲徠壜擻側傕偺偲偟偰愰尵偟傑偡丅

俆乯.comm <僔儞儃儖>,<幃>
僐儌儞僄儕傾偺巜掕傪峴偄傑偡丅

俇乯.nextern <僔儞儃儖>,<僔儞儃儖>,丒丒丒
丂丂.nextrn <僔儞儃儖>,<僔儞儃儖>,丒丒丒

$0乣$FFFF偵攝抲偝傟傞僔儞儃儖偺愰尵傪偟傑偡丅

俈乯.zextern [儗僕僗僞] <僔儞儃儖>,<僔儞儃儖>,丒丒丒
丂丂.zextrn [儗僕僗僞] <僔儞儃儖>,<僔儞儃儖>,丒丒丒
-$8000乣$7FFF偵攝抲偝傟傞僔儞儃儖偺愰尵傪偟傑偡丅

儗僕僗僞傪巜掕偡傞偲儗僕僗僞憡懳傾僋僙僗偺僆僼僙僢僩偲偟偰僔儞儃儖偑掕媊偝傟傑
偡丅儗僕僗僞徣棯帪偼儗僕僗僞偵 zero 偑巜掕偝傟偨傕偺偲傒側偟傑偡丅

乻椺乼

    .zextern[gp] zgp
    ld.w  zgp,rg0    仺    ld.w  zgp(gp),rg0


仭係丏係丂僔儞儃儖抣偺掕媊

侾乯<僔儞儃儖> .set <幃>
丂丂<僔儞儃儖> =   <幃>

僔儞儃儖偺掕媊乮嵞掕媊壜擻乯丅

俀乯<僔儞儃儖>  .equ <幃>

僔儞儃儖偺掕媊乮嵞掕媊晄壜擻乯

俁乯<僔儞儃儖>  .defs <暥帤楍>

暥帤楍僔儞儃儖偺掕媊乮嵞掕媊壜擻乯丅

係乯<僗僩儔僋僠儍柤>    .struct [幃]
丂丂<僔儞儃儖>                  .ds    <幃>
丂丂<僔儞儃儖>                  .ds    <幃>
                          .
                          .
                          .
丂丂<僔儞儃儖>                  .ds    <幃>
                                .ends

僆僼僙僢僩昞傪掕媊偟傑偡丅[幃] 偺抣偼僆僼僙僢僩昞偺奐巒傾僪儗僗偱偡丅偙偺抣偼
愨懳抣偱側偗傟偽側傝傑偣傫丅
僗僩儔僋僠儍柤偼僆僼僙僢僩昞偺僒僀僘傪帩偪傑偡丅
.struct 媈帡柦椷偼 .ends 媈帡柦椷偵傛偭偰廔椆偟傑偡丅

乻椺乼

    sval    .struct 100
    tag1    .ds     2
    tag2    .ds     2
    tag3    .ds     4
    tag4    .ds     4
    .ends

偙傟偼偦傟偧傟

    sval = 112
    tag1 = 100
    tag2 = 102
    tag3 = 104
    tag4 = 108

偲偄偆抣傪帩偪傑偡丅

俆乯<僗僩儔僋僠儍柤>    .struct [儗僕僗僞]    [幃]
    <僔儞儃儖>          .ds                   <幃>
    <僔儞儃儖>          .ds                   <幃>
                          .
                          .
                          .
    <僔儞儃儖>          .ds                   <幃>
                        .ends

僔儞儃儖偑丄巜掕偟偨儗僕僗僞憡懳傾僋僙僗偺僆僼僙僢僩偲偟偰掕媊偝傟傑偡丅

乻椺乼

    auto    struct[sp]
    i:      ds     2
    j:      ds     2
            ends

    function:
            add    #-auto,sp
            mov    i,ra1         ; i (sp)
            mov    j,ra1         ; j (sp)
            add    #auto,sp
            rts


仭係丏俆丂僨乕僞掕媊丄椞堟妋曐

侾乯.space    <幃>
丂丂.ds       <幃>

幃偺抣暘 0 傪弌椡偟傑偡丅師偺宍幃傕僒億乕僩偟傑偡丅

丂丂.space  丂<幃侾>,<幃俀>

幃俀偼丄0乣255 偺僶僀僩僨乕僞偱丄幃侾偺屄悢丄楢懕弌椡偝傟傑偡丅

俀乯.byte     <幃>,<幃>,丒丒丒
丂丂.db       <幃>,<幃>,丒丒丒

幃偺抣傪楢懕偟偨僶僀僩偵妱傝晅偗傑偡丅
.db丂偼丂.byte丂偲摨偠偔僶僀僩僨乕僞傪帵偟傑偡丅

俁乯.hword  丂<幃>,<幃>,丒丒丒
丂丂.dh     丂<幃>,<幃>,丒丒丒

幃偺抣傪楢懕偟偨俀僶僀僩偵妱傝晅偗傑偡丅
.dh丂偼丂.hword丂偲摨偠偔俀僶僀僩僨乕僞傪帵偟傑偡丅

係乯.word <幃>,<幃>,丒丒丒
丂丂.dw <幃>,<幃>,丒丒丒

幃偺抣傪楢懕偟偨係僶僀僩偵妱傝晅偗傑偡丅
.dw丂 偼丂.word丂偲摨偠偔係僶僀僩僨乕僞傪帵偟傑偡丅

俆乯.str <暥帤楍>丂偁傞偄偼丂.ascii <暥帤楍>

暥帤楍掕悢傪楢懕偟偨僶僀僩偵妱傝晅偗傑偡丅

俇乯.strz <暥帤楍>

暥帤楍掕悢傪楢懕偟偨僶僀僩偵妱傝晅偗丄暥帤楍偺嵟屻偵 0 傪帺摦揑偵晅壛偟傑偡丅

俈乯.lcomm  僔儞儃儖柤丄僒僀僘抣丄傾儔僀儊儞僩抣

.bss僙僋僔儑儞撪偺僔儞儃儖傪掕媊偟椞堟傪妋曐偟傑偡丅bss 僙僋僔儑儞埲奜偱偺巊梡
偼僄儔乕偵側傝傑偡丅

俉乯.end

僾儘僌儔儉慡懱偺廔傢傝傪帵偟傑偡丅


仭係丏俇丂儅僋儘

.macro偐傜.endm偺慜偺暥傑偱傪儅僋儘僥僉僗僩偲偟偰掕媊偟傑偡丅儅僋儘屇弌偑峴傢
傟傞偲丄儅僋儘杮懱偑揥奐偝傟傑偡丅

彂幃偼師偺偲偍傝丅

儅僋儘柤    .macro  [壖僷儔儊乕僞丄丒丒丒]
            .local  [儘乕僇儖僔儞儃儖丄丒丒丒]
            丒丒丒 乮暥偺楍乯    儅僋儘杮懱
            [.exitm]
            丒丒丒 乮暥偺楍乯
            .endm

*.exitm 媈帡柦椷偑撉崬傑傟傑偡偲丄儅僋儘偺揥奐傪偦偙偱懪偪愗傝傑偡丅

壖僷儔儊乕僞傗儘乕僇儖僔儞儃儖偼暥拞偵弌尰偟偨暥帤楍傪儚乕僪扨埵偱抲姺偟傑偡丅
儚乕僪拞偺堦晹暘偺傒抲姺偝偣偨偄応崌偼偦偺晹暘傪 & 偱埻傓偙偲偱抲姺偝偣傞偙偲
偑偱偒傑偡丅暥帤楍掕悢拞偱抲姺偝偣偨偄偲偒傕 & 偱埻傫偱壓偝偄丅

乻椺侾乼

    mac macro    x,y
        mov      x,at
        mov      y,x
        mov      at,y
        endm

    mac          rg0,hsp
             伀
        mov      rg0,at
        mov      hsp,rg0
        mov      at,hsp

乻椺俀乼

    mac macro   dir
        sh&dir& rg0,rg1
        endm

    mac l
             伀
        shl     rg0,rg1


乻椺俁乼

    mac macro   string
        str     "This is &string& string."
        endm

    mac 1st
        伀
        str     "This is 1st string."


仭係丏俈丂僀儞僋儖乕僪 

暿偺僜乕僗僼傽僀儖傪尰嵼偺僜乕僗丒僼傽僀儖偵撉傒崬傓媈帡柦椷偱偡丅
侾俇夞傑偱僱僗僩偱偒傑偡丅
彂幃偼師偺偲偍傝偱偡丅

.include  僼傽僀儖柤    乮僼傽僀儖柤傪乬乭偱妵偭偰傕壜乯


仭係丏俉丂僶僀僫儕僼傽僀儖撉傒崬傒

僶僀僫儕僼傽僀儖傪尰嵼偺僜乕僗丒僼傽僀儖偵撉傒崬傓媈帡柦椷偱偡丅

彂幃偼師偺偲偍傝偱偡丅

.binclude  僼傽僀儖柤丂傑偨偼丄丂.include  僼傽僀儖柤丆b 
                              乮僼傽僀儖柤傪乬乭偱妵偭偰傕壜乯

.binload丂乬僼傽僀儖柤乭丂乵丆僆僼僙僢僩乵丆僒僀僘乶乶
                              乮僼傽僀儖柤偼昁偢乬乭傑偨偼乪乫偱妵偭偰壓偝偄乯

僼傽僀儖偺僆僼僙僢僩偐傜僒僀僘暘丄僶僀僫儕僨乕僞傪撉傒崬傒傑偡丅

僆僼僙僢僩丄僒僀僘傪徣棯偟偨応崌偼丄偦傟偧傟僼傽僀儖偺愭摢乮侽乯丄僼傽僀儖偺慡
僒僀僘偲偟偰張棟偟傑偡丅


仭係丏俋丂忦審偮偒傾僙儞僽儖

.if   <幃>丂丂丂丂丂丂丂        丗<幃>偑恀偺偲偒丄傾僙儞僽儖張棟傪峴偄傑偡丅

.iff   <幃>                     丗<幃>偑婾偺偲偒丄傾僙儞僽儖張棟傪峴偄傑偡丅

.ifdef   <僔儞儃儖>             丗僔儞儃儖偑掕媊偝傟偰偄傞偲偒丄傾僙儞僽儖張棟
                                  傪峴偄傑偡丅

.ifndef   <僔儞儃儖>            丗僔儞儃儖偑掕媊偝傟偰偄側偄偲偒丄傾僙儞僽儖張
                                  棟傪峴偄傑偡丅

.else丂丂丂丂丂                 丗懳墳偡傞 ifxx, elseif 偑婾偺偲偒丄傾僙儞僽儖
                                  張棟傪峴偄傑偡丅

.elseif   <幃>丂                丗懳墳偡傞 ifxx, elseif 偑婾偱丄<幃>偑恀偺偲
                                  偒丄傾僙儞僽儖張棟傪峴偄傑偡丅

.endif                          丗傾僙儞僽儖惂屼偺廔椆偱偡丅

.ifdif   <暥帤楍1>,<暥帤楍2>    丗<暥帤楍1>丄<暥帤楍2>偑堎側傞偲偒丄傾僙儞僽儖
                                  張棟傪峴偄傑偡丅

.ifidn   <暥帤楍1>,<暥帤楍2>    丗<暥帤楍1>丄<暥帤楍2>偑摨偠偲偒丄傾僙儞僽儖張
                                  棟傪峴偄傑偡丅

.ifb   <暥帤楍>                 丗<暥帤楍>偑嬻暥帤楍偺偲偒乮暥帤楍偑懚嵼偟側偄
                                  偲偒乯丄傾僙儞僽儖張棟傪峴偄傑偡丅

.ifnb   <暥帤楍>                丗<暥帤楍>偑懚嵼偡傞偲偒丄傾僙儞僽儖張棟傪峴偄
                                  傑偡丅

.ifcon   <幃>                   丗<幃>偑晄曄側抣偺偲偒丄傾僙儞僽儖張棟傪峴偄傑
                                  偡丅


仭係丏侾侽丂儕僗僩惂屼

侾乯.list
偙偺柦椷埲崀傪 .nlist 偑偔傞傑偱儕僗僩弌椡偟傑偡丅

俀乯.nlist
偙偺柦椷埲崀傪 .list 偑偔傞傑偱儕僗僩弌椡偟傑偣傫丅

俁乯.lall
儕僗僩弌椡偡傞帪丄儅僋儘偺拞傕弌椡偟傑偡丅

係乯.sall
儕僗僩弌椡偡傞帪丄儅僋儘偺拞偼弌椡偟傑偣傫丅


仭係丏侾侾丂孞傝曉偟

    .rept   <幃>
    丒丒丒
    .endm

幃偺夞悢丄暥傪孞傝曉偟揥奐偟傑偡丅
.macro 媈帡柦椷偲崌傢偣偰俁俀夞傑偱僱僗僩偱偒傑偡丅


仭係丏侾俀丂僔儞儃儕僢僋僨僶僢僋

乮偙傟傜偺柦椷偼俠僐儞僷僀儔偱弌椡偝傟偨僜乕僗僼傽僀儖傪僜乕僗僐乕僪僨僶僢僌偡
傞偨傔偺傕偺偱偡乯

侾乯.file   "<僼傽僀儖柤>"
僼傽僀儖柤傪僆僽僕僃僋僩偵弌椡偟傑偡丅

俀乯.ln   <愨懳峴斣崋>
峴斣崋傪僆僽僕僃僋僩偵弌椡偟傑偡丅

俁乯.bgnf 娭悢柤, 宆, 婰壇僋儔僗, 僞僌僫儞僶, 儔儀儖僫儞僶
娭悢僄儞僩儕偺愰尵傪偟傑偡丅

係乯.endf
娭悢廔椆偺愰尵傪偟傑偡丅

俆乯.bgnb丂儔儀儖僫儞僶
僽儘僢僋僄儞僩儕偺愰尵傪偟傑偡丅

俇乯.endb
僽儘僢僋廔椆偺愰尵傪偟傑偡丅

俈乯.dbdef丂僐儅儞僪挿, 僗僩儕儞僌僶僢僼傽挿, 僞僌僫儞僶
曄悢忣曬傪愝掕偟傑偡丅


仭係丏侾俁丂僄儔乕敪惗

.fail   乬僄儔乕暥帤楍乭

丒媈帡揑偵僄儔乕傪敪惗偝偣傑偡丅


亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖

戞俆復丂傾僙儞僽儔偺巊梡彂幃


仭俆丏侾丂僐儅儞僪擖椡宍幃

fxas [僆僾僔儑儞] 僼傽僀儖柤


仭俆丏俀丂僆僾僔儑儞偺庬椶偲婡擻

侾乯僔儞儃儖偺掕媊
僔儞儃儖偺掕媊傪偟傑偡丅

丂丂-d<僔儞儃儖柤>

乻椺乼
    -dsymbol1        symbol1傪掕媊丅

俀乯僆僽僕僃僋僩僼傽僀儖偺柤慜傪巜掕
僆僽僕僃僋僩僼傽僀儖偺柤慜傪巜掕偟傑偡丅巜掕偟側偄応崌偼丄僜乕僗僼傽僀儖柤偺奼
挘巕傪乬.o乭偲偟偨僆僽僕僃僋僩僼傽僀儖偑帺摦揑偵嶌傜傟傑偡丅

丂丂-o <僼傽僀儖>

 乻椺乼
     -o object.o 

俁乯儕僗僩僼傽僀儖偺巜掕
傾僙儞僽儖儕僗僩僼傽僀儖偺惗惉傪巜掕偟傑偡丅

丂丂-p [僼傽僀儖柤]

乻椺乼
    -p list.prn source.s

-p source.s 偲偟偨応崌偺儕僗僩僼傽僀儖柤偼"source.prn"偲側傝傑偡丅
傑偨丄僄儔乕敪惗帪偵奩摉峴偺撪梕傪昞帵偟傑偡丅

係乯僀儞僋儖乕僪僼傽僀儖偺僷僗巜掕
僀儞僋儖乕僪僼傽僀儖偺僷僗傪巜掕偟傑偡丅

丂丂-i <僷僗柤>

乻椺乼
    -i\usr\local\include

俆乯枹掕媊僔儞儃儖傪奜晹掕媊偝傟偨僔儞儃儖偲傒側偡
儔儀儖偲偟偰掕媊偝傟偰偄側偄僔儞儃儖傪奜晹嶲徠偲傒側偟傑偡丅

丂丂-u

俇乯儘乕僇儖僔儞儃儖偺弌椡
儘乕僇儖僔儞儃儖偺忣曬傪僆僽僕僃僋僩偵弌椡偟傑偡丅

丂丂-x

俈乯僄僗働乕僾暥帤偺埖偄傪曄峏
暥帤楍掕悢拞偺僄僗働乕僾暥帤傪捠忢暥帤偲偟偰埖偆傛偆偵曄峏偟傑偡丅

丂丂-e

俉乯暘婒柦椷偺嵟揔壔
暘婒柦椷傪嵟揔壔偟傑偡丅

丂丂-z

俋乯僜乕僗僐乕僪僨僶僢僌偺忣曬偺弌椡
傾僙儞僽儔僜乕僗偺僨僶僢僌忣曬傪弌椡偟傑偡丅

丂丂-g

侾侽乯昗弨擖椡偐傜偺僜乕僗僐乕僪擖椡
偙偺僗僀僢僠傪巜掕偡傞偙偲偵傛傝丄僜乕僗僐乕僪傪昗弨擖椡偐傜擖椡偡傞偙偲偑偱偒
傑偡丅

擖椡傪廔椆偡傞偲偒偼丄

        CTRL亄Z

傪擖椡偟偰壓偝偄丅

弌椡僼傽僀儖偺巜掕傪峴傢側偐偭偨偲偒偼丄乬TMP.O乭偲偄偆柤慜偱僆僽僕僃僋僩僼傽
僀儖偑弌椡偝傟傑偡丅

-S丂-s乮彫暥帤乯偱傕摨條偱偡丅


仭俆丏俁丂僿儖僾儊僢僙乕僕

-? 傑偨偼 -h 僗僀僢僠傪巜掕偡傞偲師偺傛偆側僿儖僾儊僢僙乕僕傪夋柺偵昞帵偟傑偡丅
亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亄
乥  FXAS Version 1.02 (C)1990-95 HUDSON SOFT                    乥
乥  Usage: fxas [options] file                                  乥
乥   丂   -o file           output file name                    乥
乥     丂 -i path           set include path                    乥
乥      丂-z                optimize jump                       乥
乥      丂-d symbol         define symbol                       乥
乥      丂-x                local symbol output                 乥
乥      丂-g                output debug status                 乥
乥      丂-e                string escape character skip        乥
乥      丂-u                undefine symbol external            乥
乥      丂-s                input from stdin                    乥
乥      丂-p[file]          output prn file                     乥
亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亄


亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖

戞俇復丂柦椷揥奐

奺儅僋儘柦椷丄柦椷偺揥奐偵偮偄偰愢柧偟傑偡丅


仭俇丏侾丂捠忢偺柦椷揥奐


仠mov柦椷

侾乯mov #imm16,reg
丂丂mov #imm32,reg

* imm16 偼 movea 柦椷偵揥奐偟傑偡丅
  imm32 偼 movhi丄movea 柦椷偵揥奐偟傑偡偑丄壓埵16價僢僩偑 0 偺帪偼丄hi墘嶼巕傪
  巊梡偟偰movea 柦椷偵揥奐偟傑偡丅

乻椺乼

    mov  #$7fff,rg0            仺    movea    #7fff,zero,rg0

    mov  #$1fff0000,rg0        仺    movhi    #hi($1fff0000),zero,rg0

    mov  #$7fffffff,rg0        仺    movhi    #hi1($7fffffff),zero,rg0
                                     movea    #lo($7fffffff),rg0,rg0

俀乯mov #zp,rg0
丂丂mov #gps,rg0
丂丂mov #label32,rg0

* 巜掕偟偨僔儞儃儖偑僛儘儁乕僕丄gp憡懳僔儞儃儖偺帪偼丄movea 柦椷偵揥奐偟丄偦傟
  埲奜偺帪偼 movhi丄movea 柦椷偵揥奐偟傑偡丅

乻椺乼

    mov #zp,rg0                仺    movea    #zp,zero,rg0

    mov #gps,rg0               仺    movea    #gps,gp,rg0

    mov #label32,rg0           仺    movhi    #hi1(label32),zero,rg0
                                     movea    #lo(label32),rg0,rg0

俁乯mov label32,rg0

* 傾僙儞僽儔梡儗僕僗僞乮at乯傪巊梡偟 movhi丄ld 柦椷偵揥奐偟傑偡丅

乻椺乼

    mov label32,rg0            仺    movhi    #hi1(label32),zero,at
                                     ld.w     lo(label32)(at),rg0


仠add柦椷

侾乯add #imm16,reg
丂丂add #imm32,reg

 * imm16 偼 addi 柦椷偵揥奐偟傑偡丅
   imm32 偼傾僙儞僽儔梡儗僕僗僞乮at乯傪巊梡偟 add 柦椷偵揥奐偟傑偡偑丄
   壓埵侾俇價僢僩偑 0 偺帪偼丄hi 墘嶼巕傪巊梡偟偰addi 柦椷偵揥奐偟傑偡丅

乻椺乼

    add #$7fff,rg0             仺    addi    #7fff,zero,rg0

    add #$1fff0000,rg0         仺    addi    #hi($1fff0000),zero,rg0

    add #$7fffffff,rg0         仺    movhi   #hi1($7fffffff),zero,at
                                     movea   #lo($7fffffff),at,at
                                     add     at,rg0

俀乯add #zp,reg
丂丂add #gps,reg

* 傾僙儞僽儔梡儗僕僗僞乮at乯傪巊梡偟 movea 柦椷偲 add 柦椷偵揥奐偟傑偡丅

乻椺乼

    add #zp,rg0                仺    movea   #zp,zero,at
                                     add     at,rg0

    add #gps,rg0               仺    movea   #gps,gp,at
                                     add     at,rg0


仠cmp柦椷

侾乯cmp #imm16,reg
丂丂cmp #imm32,reg

* 傾僙儞僽儔梡儗僕僗僞乮at乯傪巊梡偟 cmp 柦椷偵揥奐偟傑偡丅

乻椺乼

    cmp #$7fff,rg0             仺    movea    #$7fff,zero,at
                                     cmp      at,rg0

    cmp #$1fff0000,rg0         仺    movhi    #hi($1fff0000),zero,at
                                     cmp      at,rg0

    cmp #$7fffffff,rg0         仺    movhi    #hi1($7fffffff),zero,at
                                     movea    #lo($7fffffff),at,at
                                     cmp      at,rg0

俀乯cmp #zp,reg
丂丂cmp #gps,reg

* 傾僙儞僽儔梡儗僕僗僞乮at乯傪巊梡偟 movea 柦椷偲 cmp 柦椷偵揥奐偟傑偡丅

乻椺乼

    cmp #zp,rg0                仺    movea    #zp,zero,at
                                     cmp      at,rg0

    cmp #gps,rg0               仺    movea    #gps,gp,at
                                     cmp      at,rg0


仠div, divu, mul, mulu柦椷

* 傾僙儞僽儔梡儗僕僗僞乮at乯傪巊梡偟丄偦偺柦椷偵揥奐偟傑偡丅

ins 偼 div/divu/mul/mulu 傪帵偟傑偡丅

侾乯ins #imm5,reg
丂丂ins #imm16,reg
丂丂ins #imm32,reg

乻椺乼

    ins #$f,rg0                仺    mov      #$f,at
                                     ins      at,rg0

    ins #$7fff,rg0             仺    movea    #$7fff,zero,at
                                     ins      at,rg0

    ins #$1fff0000,rg0         仺    movhi    #hi($1fff0000),zero,at
                                     ins      at,rg0

    ins #$7fffffff,rg0         仺    movhi    #hi1($7fffffff),zero,at
                                     movea    #lo($7fffffff),at,at
                                     ins      at,rg0


仠and, or, xor柦椷

ins 偼 and/or/xor 傪帵偟傑偡丅
insi 偼 andi/ori/xori 傪帵偟傑偡丅

侾乯ins #imm5,reg
丂丂ins #imm16,reg
丂丂ins #imm32,reg

* imm5丄imm16 偺帪偼 insi 柦椷偵揥奐偟傑偡丅
  imm32 偺帪偼丄傾僙儞僽儔梡儗僕僗僞乮at乯傪巊梡偟偦偺柦椷偵揥奐偟傑偡丅

乻椺乼

    ins #$f,rg0                仺    insi     #$f,rg0,rg0

    ins #$7fff,rg0             仺    insi     #$7fff,rg0,rg0

    ins #$1fff0000,rg0         仺    movhi    #hi($1fff0000),zero,at
                                     ins      at,rg0

    ins #$7fffffff,rg0         仺    movhi    #hi1($7fffffff),zero,at
                                     movea    #lo(($7fffffff),at,at
                                     ins      at,rg0

俀乯ins #zp,reg
丂丂ins #gps,reg

* 傾僙儞僽儔梡儗僕僗僞乮at乯傪巊梡偟 movea 柦椷偲 偦偺柦椷偵揥奐偟傑偡丅

乻椺乼

    ins #zp,rg0                仺    movea    #zp,zero,at
                                     ins      at,rg0

    ins #gps,rg0               仺    movea    #gps,gp,at
                                     ins      at,rg0


仭俇丏俀 暘婒儅僋儘

侾乯j cond label

* j cond 偱巜掕偝傟偨媡忦審偑恀偺帪偵師偺俹俠偵僽儔儞僠偟丄婾偺帪偵 巜掕儔儀儖
  偵僽儔儞僠偡傞僐乕僪偵揥奐偟傑偡丅

乻椺乼

    jeq label1            仺    bne    next_PC
                                jr     label1
                                             仼 next_PC


仭俇丏俁 戙擖儅僋儘

侾乯lea丂label,reg

* 巜掕俁俀價僢僩儔儀儖丄巜掕侾俇價僢僩儔儀儖乮zextern乯偺傾僪儗僗傪儘乕僪偡傞
  僐乕僪偵揥奐偟傑偡丅

乻椺乼

    lea label32,rg0       仺    movhi  #hi1(label32),zero,rg0
                                movea  #lo(label32),rg0,rg0

    lea label16,rg0       仺    movea  label16,zero,rg0

俀乯lea丂imm16,reg
丂丂lea丂imm32,reg

* 巜掕掕悢傪儘乕僪偡傞僐乕僪偵揥奐偟傑偡丅

乻椺乼

    lea  #32768,rg0       仺    movhi  #hi1(32768),zero,rg0
                                movea  #lo(32768),rg0,rg0

    lea  #32767,rg0       仺    movea  #32767,rg0,rg0

俁乯mov丂psw,reg

* stsr 柦椷偵揥奐偟傑偡丅

乻椺乼

    mov eipc,rg0          仺    stsr   eipc,rg0

係乯mov丂reg,psw

* ldsr 柦椷偵揥奐偟傑偡丅

乻椺乼

    mov rg0,eipc          仺    ldsr   rg0,eipc

俆乯mov.b丂disp16 (reg0),reg1
丂丂( mov.h乛mov.w乛mov.s乛mov.ub乛mov.uh乛mov.uw )

* ld 柦椷偵揥奐偟傑偡丅
  僒僀僘巜掕偑晞崋側偟乮.ub乛.uh乯偺帪偼丄侽奼挘偡傞僐乕僪傕揥奐偟傑偡丅

乻椺乼

    mov.b    0(rg0),rg1        仺    ld.b    0(rg0),rg1

    mov.h    2(rg0),rg1        仺    ld.h    2(rg0),rg1

    mov.w    4(rg0),rg1        仺    ld.w    4(rg0),rg1

    mov.s    8(rg0),rg1        仺    ld.w    8(rg0),rg1

    mov.ub   12(rg0),rg1       仺    ld.b    12(rg0),rg1
                                     andi    #$ff,rg1,rg1

    mov.uh   14(rg0),rg1       仺    ld.h    14(rg0),rg1
                                     andi    #$ffff,rg1,rg1

    mov.uw   16(rg0),rg1       仺    ld.w    16(rg0),rg1

俇乯mov.b丂  reg1,disp16(reg0)
丂丂( mov.h乛mov.w乛mov.s乛mov.ub乛mov.uh乛mov.uw )

* st 柦椷偵揥奐偟傑偡丅

乻椺乼

    mov.b    rg1,0(rg0)        仺    st.b    rg1,0(rg0)

    mov.h    rg1,2(rg0)        仺    st.h    rg1,2(rg0)

    mov.w    rg1,4(rg0)        仺    st.w    rg1,4(rg0)

    mov.s    rg1,8(rg0)        仺    st.w    rg1,8(rg0)

    mov.ub   rg1,12(rg0)       仺    st.b    rg1,12(rg0)

    mov.uh   rg1,14(rg0)       仺    st.h    rg1,14(rg0)

    mov.uw   rg1,16(rg0)       仺    st.w    rg1,16(rg0)

俈乯mov.b丂label,reg
丂丂( mov.h乛mov.w乛mov.s乛mov.ub乛mov.uh乛mov.uw )

* 俁俀價僢僩 label 偺傾僪儗僗傪惗惉偟丄偦偙偐傜巜掕僒僀僘暘儘乕僪偡傞僐乕僪偵
  揥奐偟傑偡丅乮傾僙儞僽儔梡儗僕僗僞 : at 傪巊梡偟傑偡丅乯僒僀僘巜掕偑晞崋側偟
  乮.ub, .uh乯偺帪偼丄侽奼挘偡傞僐乕僪傕揥奐偟傑偡丅

乻椺乼

    mov.b    label0,rg0        仺    movhi   #hi1(label0),zero,at
                                     movea   #lo(label0),at,at
                                     ld.b    0(at),rg0

    mov.h    label1,rg0        仺    movhi   #hi1(label1),zero,at
                                     movea   #lo(label1),at,at
                                     ld.h    0(at),rg0

    mov.w    label2,rg0        仺    movhi   #hi1(label2),zero,at
                                     movea   #lo(label2),at,at
                                     ld.w    0(at),rg0

    mov.s    label3,rg0        仺    movhi   #hi1(label3),zero,at
                                     movea   #lo(label3),at,at
                                     ld.w    0(at),rg0

    mov.ub   label4,rg0        仺    movhi   #hi1(label4),zero,at
                                     movea   #lo(label4),at,at
                                     ld.b    0(at),rg0
                                     andi    #$ff,rg0,rg0

    mov.uh   label5,rg0        仺    movhi   #hi1(label5),zero,at
                                     movea   #lo(label5),at,at
                                     ld.h    0(at),rg0
                                     andi    #$ffff,rg0,rg0

    mov.uw   label6,rg0        仺    movhi   #hi1(label6),zero,at
                                     movea   #lo(label6),at,at
                                     ld.w    0(at),rg0

俉乯mov.b丂  reg,label
丂丂( mov.h乛mov.w乛mov.s乛mov.ub乛mov.uh乛mov.uw )

* 俁俀價僢僩丄侾俇價僢僩 label 偺傾僪儗僗傪惗惉偟丄偦偙偵 reg 傪 巜掕僒僀僘暘
  僗僩傾偡傞僐乕僪偵揥奐偟傑偡丅乮傾僙儞僽儔梡儗僕僗僞 : at 傪巊梡偟傑偡丅乯

乻椺乼

    mov.b    rg0,label0        仺    movhi   #hi1(label0),zero,at
                                     movea   #lo(label0),at,at
                                     st.b    rg0,0(at)

    mov.h    rg0,label1        仺    movhi   #hi1(label1),zero,at
                                     movea   #lo(label1),at,at
                                     st.h    rg0,0(at)

    mov.w    rg0,label2        仺    movhi   #hi1(label2),zero,at
                                     movea   #lo(label2),at,at
                                     st.w    rg0,0(at)

    mov.w    rg0,label3        仺    movhi   #hi1(label3),zero,at
                                     movea   #lo(label3),at,at
                                     st.w    rg0,0(at)

    mov.ub   rg0,label4        仺    movhi   #hi1(label4),zero,at
                                     movea   #lo(label4),at,at
                                     st.b    rg0,0(at)

    mov.uh   rg0,label5        仺    movhi   #hi1(label5),zero,at
                                     movea   #lo(label5),at,at
                                     st.h    rg0,0(at)

    mov.uw   rg0,label6        仺    movhi   #hi1(label6),zero,at
                                     movea   #lo(label6),at,at
                                     st.w    rg0,0(at)

俋乯mov.b    zp,reg
丂丂( mov.h乛mov.w乛mov.s乛mov.ub乛mov.uh乛mov.uw )

* 侽儁乕僕傛傝巜掕悢抣暘憡懳偟偨儊儌儕偐傜丄巜掕僒僀僘暘儘乕僪偡傞僐乕僪偵揥
  奐偟傑偡丅僒僀僘巜掕偑晞崋側偟乮.ub, .uh乯偺帪偼丄侽奼挘偡傞僐乕僪傕揥奐偟
  傑偡丅

    mov.b    $7fff,rg0         仺    ld.b    $7fff(zero),rg0

    mov.h    $7fff,rg0         仺    ld.h    $7fff(zero),rg0

    mov.w    $7fff,rg0         仺    ld.w    $7fff(zero),rg0

    mov.s    $7fff,rg0         仺    ld.w    $7fff(zero),rg0

    mov.ub   $7fff,rg0         仺    ld.b    $7fff(zero),rg0
                                     andi    #$ff,rg0,rg0

    mov.uh   $7fff,rg0         仺    ld.h    $7fff(zero),rg0
                                     andi    #$ffff,rg0,rg0

    mov.uw   $7fff,rg0         仺    ld.w    $7fff(zero),rg0

侾侽乯mov.b丂reg,zp
丂丂丂( mov.h乛mov.w乛mov.s乛mov.ub乛mov.uh乛mov.uw )

* reg 傪侽儁乕僕傛傝巜掕悢抣暘憡懳偟偨儊儌儕偵丄巜掕僒僀僘暘僗僩傾偡傞僐乕僪偵
  揥奐偟傑偡丅

    mov.b    rg0,$7fff         仺    st.b    rg0,$7fff(zero)

    mov.h    rg0,$7fff         仺    st.h    rg0,$7fff(zero)

    mov.w    rg0,$7fff         仺    st.w    rg0,$7fff(zero)

    mov.s    rg0,$7fff         仺    st.w    rg0,$7fff(zero)

    mov.ub   rg0,$7fff         仺    st.b    rg0,$7fff(zero)

    mov.uh   rg0,$7fff         仺    st.h    rg0,$7fff(zero)

    mov.uw   rg0,$7fff         仺    st.w    rg0,$7fff(zero)

侾侾乯mov.b丂disp16[reg],reg
丂丂丂( mov.h乛mov.w乛mov.s乛mov.ub乛mov.uh乛mov.uw )

* 俆乯偲摨條偱偡丅

侾俀乯mov.b丂reg,disp16[reg]
丂丂丂( mov.h乛mov.w乛mov.s乛mov.ub乛mov.uh乛mov.uw )

* 俇乯偲摨條偱偡丅

侾俁乯mov.b丂disp16[label],reg
丂丂丂( mov.h乛mov.w乛mov.s乛mov.ub乛mov.uh乛mov.uw )

* 俁俀價僢僩 label 偺傾僪儗僗傪惗惉偟丄偦偺傾僪儗僗偺撪梕偺巜偡偲偙傠偐傜巜掕
  僒僀僘暘儘乕僪偡傞僐乕僪偵揥奐偟傑偡丅乮傾僙儞僽儔梡儗僕僗僞 : at 傪巊梡偟傑
  偡丅乯
  僒僀僘巜掕偑晞崋側偟乮.ub, .uh乯偺帪偼侽奼挘偡傞僐乕僪傕揥奐偟傑偡丅

乻椺乼

    mov.b    0[label0],rg0     仺    movhi   #hi1(label0),zero,at
                                     movea   #lo(label0),at,at

                                     ld.w    0(at),at
                                     ld.b    0(at),rg0

    mov.h    2[label1],rg0     仺    movhi   #hi1(label1),zero,at
                                     movea   #lo(label1),at,at

                                     ld.w    0(at),at
                                     ld.h    2(at),rg0

    mov.w    4[label2],rg0     仺    movhi   #hi1(label2),zero,at
                                     movea   #lo(label2),at,at

                                     ld.w    0(at),at
                                     ld.w    4(at),rg0

    mov.s    8[label3],rg0     仺    movhi   #hi1(label3),zero,at
                                     movea   #lo(label3),at,at

                                     ld.w    0(at),at
                                     ld.w    8(at),rg0

    mov.ub   12[label4],rg0    仺    movhi   #hi1(label4),zero,at
                                     movea   #lo(label4),at,at

                                     ld.w    0(at),at
                                     ld.b    12(at),rg0
                                     andi    #$ff,rg0,rg0

    mov.uh    14[label5],rg0   仺    movhi   #hi1(label5),zero,at
                                     movea   #lo(label5),at,at

                                     ld.w    0(at),at
                                     ld.h    14(at),rg0
                                     andi    #$ffff,rg0,rg0

    mov.uw    16[label6],rg0   仺    movhi   #hi1(label6),zero,at
                                     movea   #lo(label6),at,at

                                     ld.w    0(at),at
                                     ld.w    16(at),rg0

侾係乯mov.b丂reg,disp16[label]
丂丂丂( mov.h乛mov.w乛mov.s乛mov.ub乛mov.uh乛mov.uw )

* 俁俀價僢僩 label 偺傾僪儗僗傪惗惉偟丄偦偺傾僪儗僗偺撪梕偺巜偡偲偙傠偵巜掕僒
  僀僘暘 reg 傪僗僩傾偡傞僐乕僪偵揥奐偟傑偡丅乮傾僙儞僽儔梡儗僕僗僞 : at 傪巊
  梡偟傑偡丅乯

乻椺乼

    mov.b    rg0,0[label0]     仺    movhi   #hi1(label0),zero,at
                                     movea   #lo(label0),at,at

                                     ld.w    0(at),at
                                     st.b    rg0,0(at)

    mov.h    rg0,2[label1]     仺    movhi   #hi1(label1),zero,at
                                     movea   #lo(label1),at,at

                                     ld.w    0(at),at
                                     st.h    rg0,2(at)

    mov.w    rg0,4[label2]     仺    movhi   #hi1(label2),zero,at
                                     movea   #lo(label2),at,at

                                     ld.w    0(at),at
                                     st.w    rg0,4(at)

    mov.s    rg0,8[label3]     仺    movhi   #hi1(label3),zero,at
                                     movea   #lo(label3),at,at

                                     ld.w    0(at),at
                                     st.w    rg0,8(at)

    mov.ub   rg0,12[label4]    仺    movhi   #hi1(label4),zero,at
                                     movea   #lo(label4),at,at

                                     ld.w    0(at),at
                                     st.b    rg0,12(at)

    mov.uh   rg0,14[label5]    仺    movhi   #hi1(label5),zero,at
                                     movea   #lo(label5),at,at

                                     ld.w    0(at),at
                                     st.h    rg0,14(at)

    mov.uw   rg0,16[label6]    仺    movhi   #hi1(label6),zero,at
                                     movea   #lo(label6),at,at

                                     ld.w    0(at),at
                                     st.w    rg0,16(at)

侾俆乯mov.b丂disp16(reg0+),reg1
丂丂丂mov.b丂disp16(reg0-),reg1
丂丂丂( mov.h乛mov.w乛mov.s乛mov.ub乛mov.uh乛mov.uw )

* ld 柦椷偲丄reg0 傪巜掕僒僀僘暘僀儞僋儕儊儞僩乛僨僋儕儊儞僩峏怴偡傞僐乕僪偵揥
  奐偡傞僒僀僘巜掕偑晞崋側偟乮.ub, .uh乯偺帪偼丄侽奼挘偡傞僐乕僪傕揥奐偟傑偡丅

乻椺乼

    mov.b    0(rg0+),rg1       仺    ld.b    0(rg0),rg1
                                     add     #1,rg0

    mov.h    2(rg0+),rg1       仺    ld.h    2(rg0),rg1
                                     add     #2,rg0

    mov.w    4(rg0+),rg1       仺    ld.w    4(rg0),rg1
                                     add     #4,rg0

    mov.s    8(rg0+),rg1       仺    ld.w    8(rg0),rg1
                                     add     #4,rg0

    mov.ub   12(rg0+),rg1      仺    ld.b    12(rg0),rg1
                                     add     #1,rg0
                                     andi    #$ff,rg1,rg1

    mov.uh   14(rg0+),rg1      仺    ld.h    14(rg0),rg1
                                     add     #2,rg0
                                     andi    #$ffff,rg1,rg1

    mov.uw   16(rg0+),rg1      仺    ld.w    16(rg0),rg1
                                     add     #4,rg0

* 僨僋儕儊儞僩巜掕乮 disp(reg0-) 乯偺帪偼丄add 偺掕悢偵晧偺抣傪巜掕偟傑偡丅

        .b     :丂-1
        .h     :丂-2
        .w,.s  :丂-4

侾俇乯mov.b丂reg1,disp16(reg0+)
丂丂丂mov.b丂reg1,disp16(reg0-)
丂丂丂( mov.h乛mov.w乛mov.s乛mov.ub乛mov.uh乛mov.uw )

* st 柦椷偲丄reg0 傪巜掕僒僀僘暘僀儞僋儕儊儞僩乛僨僋儕儊儞僩峏怴偡傞僐乕僪偵揥
  奐偟傑偡丅

乻椺乼

    mov.b    rg1,0(rg0+)       仺    st.b    rg1,0(rg0)
                                     add     #1,rg0

    mov.h    rg1,2(rg0+)       仺    st.h    rg1,2(rg0)
                                     add     #2,rg0

    mov.w    rg1,4(rg0+)       仺    st.w    rg1,4(rg0)
                                     add     #4,rg0

    mov.s    rg1,8(rg0+)       仺    st.w    rg1,8(rg0)
                                     add     #4,rg0

    mov.ub   rg1,12(rg0+)      仺    st.b    rg1,12(rg0)
                                     add     #1,rg0

    mov.uh   rg1,14(rg0+)      仺    st.h    rg1,14(rg0)
                                     add     #2,rg0

    mov.uw   rg1,16(rg0+)      仺    st.w    rg1,16(rg0)
                                     add     #4,rg0

* 僨僋儕儊儞僩巜掕乮 disp(reg0-) 乯偺帪偼丄add 偺掕悢偵晧偺抣傪巜掕偟傑偡丅

        .b     :丂-1
        .h     :丂-2
        .w,.s  :丂-4

侾俈乯mov.b丂disp16(+reg0),reg1
丂丂丂mov.b丂disp16(-reg0),reg1
丂丂丂( mov.h乛mov.w乛mov.s乛mov.ub乛mov.uh乛mov.uw )

* reg0 傪巜掕僒僀僘暘僀儞僋儕儊儞僩乛僨僋儕儊儞僩峏怴偡傞僐乕僪偲 ld 柦椷偵揥
  奐偟傑偡丅僒僀僘巜掕偑晞崋側偟乮.ub, .uh乯偺帪偼丄侽奼挘偡傞僐乕僪傕揥奐偟傑
  偡丅

乻椺乼

    mov.b    0(+rg0),rg1       仺    add     #1,rg0
                                     ld.b    0(rg0),rg1

    mov.h    2(+rg0),rg1       仺    add     #2,rg0
                                     ld.h    2(rg0),rg1

    mov.w    4(+rg0),rg1       仺    add     #4,rg0
                                     ld.w    4(rg0),rg1

    mov.s    8(+rg0),rg1       仺    add     #4,rg0
                                     ld.w    8(rg0),rg1

    mov.ub   12(+rg0),rg1      仺    add     #1,rg0
                                     ld.b    12(rg0),rg1
                                     andi    #$ff,rg1,rg1

    mov.uh   14(+rg0),rg1      仺    add     #2,rg0
                                     ld.h    14(rg0),rg1
                                     andi    #$ffff,rg1,rg1

    mov.uw 丂16(+rg0),rg1      仺    add     #4,rg0
                                     ld.w    16(rg0),rg1

* 僨僋儕儊儞僩巜掕乮 disp(-reg0) 乯偺帪偼丄add 偺掕悢偵晧偺抣傪巜掕偟傑偡丅

        .b     :丂-1
        .h     :丂-2
        .w,.s  :丂-4

侾俉乯mov.b丂reg1,disp16(+reg0)
丂丂丂mov.b丂reg1,disp16(-reg0)
丂丂丂( mov.h乛mov.w乛mov.s乛mov.ub乛mov.uh乛mov.uw )

* st 柦椷偲丄reg0 傪巜掕僒僀僘暘僀儞僋儕儊儞僩乛僨僋儕儊儞僩峏怴偡傞僐乕僪偵揥
  奐偟傑偡丅

乻椺乼

    mov.b    rg1,0(+rg0)       仺    add     #1,rg0
                                     st.b    rg1,0(rg0)

    mov.h    rg1,2(+rg0)       仺    add     #2,rg0
                                     st.h    rg1,2(rg0)

    mov.w    rg1,4(+rg0)       仺    add     #4,rg0
                                     st.w    rg1,4(rg0)

    mov.s    rg1,8(+rg0)       仺    add     #4,rg0
                                     st.w    rg1,8(rg0)

    mov.ub   rg1,12(+rg0)      仺    add     #1,rg0
                                     st.b    rg1,12(rg0)

    mov.uh   rg1,14(+rg0)      仺    add     #2,rg0
                                     st.h    rg1,14(rg0)

    mov.uw   rg1,16(+rg0)      仺    add     #4,rg0
                                     st.w    rg1,16(rg0)

* 僨僋儕儊儞僩巜掕乮 disp(-reg0) 乯偺帪偼丄add 偺掕悢偵晧偺抣傪巜掕偟傑偡丅

        .b     :丂-1
        .h     :丂-2
        .w,.s  :丂-4

侾俋乯mov.b丂#ext,reg
丂丂丂( mov.h乛mov.w乛mov.s乛mov.ub乛mov.uh乛mov.uw )

* ext 傪僀儈僨傿僄乕僩偲偟偰丄巜掕僒僀僘暘儘乕僪偡傞僐乕僪偵揥奐偟傑偡丅

乻椺乼

    mov.b    #ext0,rg0         仺    mov     #(value),rg0

    mov.h    #ext1,rg0         仺    movea   #(value),zero,rg0

    mov.w    #ext2,rg0         仺    movhi   #hi1(value),zero,rg0
                                     movea   #lo(value),rg0,rg0

    mov.s    #ext3,rg0         仺    movhi   #hi1(value),zero,rg0
                                     movea   #lo(value),rg0,rg0

    mov.ub   #ext4,rg0         仺    mov     #(value),rg0

    mov.uh   #ext5,rg0         仺    movea   #(value),zero,rg0

    mov.uw   #ext6,rg0         仺    movhi   #hi1(value),zero,rg0
                                     movea   #lo(value),rg0,rg0

* value 偼儕儞僋屻偵愝掕偝傟傑偡丅

俀侽乯mov.b丂#ext,disp16(reg)
 丂丂( mov.h乛mov.w乛mov.s乛mov.ub乛mov.uh乛mov.uw )

* ext 傪僀儈僨傿僄乕僩偲偟偰丄儗僕僗僞乮at乯偵儘乕僪偟丄st 柦椷偵揥奐偟傑偡丅
  乮傾僙儞僽儔梡儗僕僗僞 : at 傪巊梡偟傑偡丅乯僒僀僘巜掕偑 .b .ub 偺帪偼丄懄抣
  偼5價僢僩偲偟偰張棟偟傑偡丅

乻椺乼

    mov.b    #ext0,0(rg0)      仺    mov     #(ext0),at
                                     st.b    at,0(rg0)

    mov.h    #ext1,2(rg0)      仺    movea   #(ext1),zero,at
                                     st.h    at,2(rg0)

    mov.w    #ext2,4(rg0)      仺    movhi   #hi1(ext2),zero,at
                                     movea   #lo(ext2),at,at
                                     st.w    at,4(rg0)

    mov.s    #ext3,8(rg0)      仺    movhi   #hi1(ext3),zero,at
                                     movea   #lo(ext3),at,at
                                     st.w    at,8(rg0)

    mov.ub   #ext4,12(rg0)     仺    mov     #(ext4),at
                                     st.b    at,12(rg0)

    mov.uh   #ext5,14(rg0)     仺    movea   #(ext5),zero,at
                                     st.h    at,14(rg0)

    mov.uw   #ext6,16(rg0)     仺    movhi   #hi1(ext6),zero,at
                                     movea   #lo(ext6),at,at
                                     st.w    at,16(rg0)

俀侾乯mov.b丂#ext,label (zextern symbol)
丂丂丂( mov.h乛mov.w乛mov.s乛mov.ub乛mov.uh乛mov.uw )

* ext 傪僀儈僨傿僄乕僩偲偟偰丄儗僕僗僞乮at乯偵儘乕僪偟丄st 柦椷偵揥奐偟傑偡丅
  乮傾僙儞僽儔梡儗僕僗僞 : at 傪巊梡偟傑偡丅乯僗僩傾偡傞儊儌儕偺傾僪儗僗偼丄
   0 偐傜 $7fff 偺娫偵側傝傑偡丅

乻椺乼

    mov.b    #ext0,zext0       仺    mov     #(ext0),at
                                     st.b    at,zext0(zero)

    mov.h    #ext1,zext1       仺    movea   #(ext1),zero,at
                                     st.h    at,zext1(zero)

    mov.w    #ext2,zext2丂丂丂 仺    movhi   #hi1(ext2),zero,at
                                     movea   #lo(ext2),at,at
                                     st.w    at,zext2(zero)

    mov.s    #ext3,zext3       仺    movhi   #hi1(ext3),zero,at
                                     movea   #lo(ext3),at,at
                                     st.w    at,zext3(zero)

    mov.ub   #ext4,zext4       仺    movea   #(ext4),zero,at
                                     st.b    at,zext4(zero)

    mov.uh   #ext5,zext5       仺    movea   #(ext5),zero,at
                                     st.h    at,zext5(zero)

    mov.uw   #ext6,zext6       仺    movhi   #hi1(ext6),zero,at
                                     movea   #lo(ext6),at,at
                                     st.w    at,zext6(zero)

俀俀乯mov.b丂reg0,reg1
      ( mov.h乛mov.w乛mov.s乛mov.ub乛mov.uh乛mov.uw )

* reg0 傪價僢僩暆偵墳偠偰晞崋奼挘丄侽奼挘偟偰 reg1 偵僗僩傾偡傞僐乕僪偵揥奐偟傑
  偡丅

乻椺乼

    mov.b    rg0,rg1           仺    mov     rg0,rg1
                                     shl     #$18,rg1
                                     sar     #$18,rg1

    mov.h    rg0,rg1           仺    mov     rg0,rg1
                                     shl     #$10,rg1
                                     sar     #$10,rg1

    mov.w    rg0,rg1           仺    mov     rg0,rg1

    mov.s    rg0,rg1           仺    mov     rg0,rg1

    mov.ub   rg0,rg1           仺    andi    #$ff,rg0,rg1

    mov.uh   rg0,rg1           仺    andi    $ffff,rg0,rg1

    mov.uw   rg0,rg1           仺    mov     rg0,rg1

俀俁乯mov.b丂#imm5,reg
丂丂丂mov.b丂#imm16,reg
丂丂丂mov.b丂#imm32,reg
丂丂丂( mov.h乛mov.w乛mov.s乛mov.ub乛mov.uh乛mov.uw )

* 巜掕掕悢傪價僢僩暆偵墳偠偨僐乕僪偱儘乕僪偡傞僐乕僪偵揥奐偟傑偡丅
  乮僒僀僘偼塭嬁偟傑偣傫丅乯

乻椺乼

    mov.w    #15,rg0           仺    mov     #15,rg0

    mov.w    #32767,rg0        仺    movea   #32767,zero,rg0

    mov.w    #65535,rg0        仺    movhi   #hi1(65535),zero,rg0
                                     movea   #lo(65535),rg0,rg0

俀係乯ld.ub丂disp(reg0),reg1
丂丂丂( ld.uh乛ld.uw )

* ld 柦椷偵揥奐偟丄僒僀僘巜掕偑 .ub丄 .uh 偺帪偵侽奼挘偡傞僐乕僪偵揥奐偟傑偡丅

乻椺乼

    ld.ub    0(rg0),rg1        仺    ld.b    0(rg0),rg1
                                     andi    #$ff,rg1,rg1

    ld.uh    2(rg0),rg1        仺    ld.h    2(rg0),rg1
                                     andi    #$ffff,rg1,rg1

    ld.uw    4(rg0),rg1        仺    ld.w    4(rg0),rg1

俀俆乯in.ub丂disp(reg0),reg1
丂丂丂( in.uh乛in.uw )

* in 柦椷偵揥奐偟傑偡丅

乻椺乼

    in.ub    0(rg0),rg1        仺    in.b    0(rg0),rg1

    in.uh    2(rg0),rg1        仺    in.h    2(rg0),rg1

    in.uw    4(rg0),rg1        仺    in.w    4(rg0),rg1


仭俇丏係 嶼弍寁嶼儅僋儘

侾乯inc丂reg
丂丂add丂reg

* 巜掕儗僕僗僞傪侾僀儞僋儕儊儞僩偡傞僐乕僪偵揥奐偟傑偡丅

乻椺乼

    inc  rg0        仺    add  #1,rg0

    add  rg0        仺    add  #1,rg0

俀乯dec丂reg
丂丂sub丂reg

* 巜掕儗僕僗僞傪侾僨僋儕儊儞僩偡傞僐乕僪偵揥奐偟傑偡丅

乻椺乼

    dec  rg0        仺    add  #-1,rg0

    sub  rg0        仺    add  #-1,rg0

俁乯shl丂reg
丂丂shr丂reg
丂丂sar丂reg

* 巜掕儗僕僗僞傪侾僔僼僩偡傞僐乕僪偵揥奐偟傑偡丅

乻椺乼

    shl  rg0        仺    shl  #1,rg0

    shr  rg0        仺    shr  #1,rg0

    sar  rg0        仺    sar  #1,rg0

係乯neg丂reg0
丂丂neg丂reg0,reg1

* 晞崋傪斀揮偡傞乮俀偺曗悢乯僐乕僪偵揥奐偟傑偡丅儗僕僗僞偺撪梕傪攋夡偟偨偔側偄
  帪偼丄儗僕僗僞傪俀偮巜掕偟偰壓偝偄丅

乻椺乼

    neg  rg0        仺    not  rg0,rg0
                          add  #1,rg0

    neg  rg0,rg1    仺    not  rg0,rg1
                          add  #1,rg1

俆乯sub  #imm5,reg
丂丂sub  #imm16,reg
丂丂sub  #imm32,reg

* imm5丄imm16 偺帪偼巜掕掕悢傪晞崋斀揮偟乮俀偺曗悢乯丄add丄addi 柦椷 偵揥奐偟傑
  偡丅
  imm32 偺帪偼傾僙儞僽儔梡儗僕僗僞乮at乯傪巊梡偟 sub 柦椷偵揥奐偟傑偡丅

乻椺乼

    sub    #15,rg0        仺    add    #-15,rg0

    sub    #32767,rg0           addi   #-32767,rg0,rg0

    sub    #65535,rg0           movhi  #hi1(65535),zero,at
                                movea  #lo(65535),at,at
                                sub    at,rg0

俇乯add.b  reg0,reg1
丂丂乮 .h, .w, .s, .ub, .uh, .uw, 偦偺懠偺柦椷 乯

* 捠忢偺 add 柦椷偵揥奐偟傑偡丅

乻椺乼

    add.b      rg0,rg1        仺    add        rg0,rg1

    add.h      rg0,rg1              add        rg0,rg1

    add.w      rg0,rg1              add        rg0,rg1

    add.s      rg0,rg1              addf.s     rg0,rg1

    add.ub     rg0,rg1              add        rg0,rg1

    add.uh     rg0,rg1              add        rg0,rg1

    add.uw     rg0,rg1              add        rg0,rg1

俈乯add.b  reg1,disp(reg0)
丂乮 .h, .w, .s, .ub, .uh, .uw, 偦偺懠偺柦椷 乯

* ld 柦椷偱 儗僕僗僞乮at乯偵丄disp(reg0) 偺撪梕傪儘乕僪偟丄reg1 偲墘嶼偟偰
   disp(reg0) 偵僗僩傾偡傞僐乕僪偵揥奐偟傑偡丅
  僒僀僘巜掕偑晞崋側偟乮.ub, .uh乯偺帪偼丄侽奼挘偡傞僐乕僪傕揥奐偟傑偡丅
  乮傾僙儞僽儔梡儗僕僗僞 : at 傪巊梡偟傑偡丅乯

乻椺乼

    add.b      rg0,0(rg1)     仺    ld.b       0(rg1),at
                                    add        rg0,at
                                    st.b       at,0(rg1)

    add.h      rg0,0(rg1)     仺    ld.h       0(rg1),at
                                    add        rg0,at
                                    st.h       at,0(rg1)

    add.w      rg0,0(rg1)     仺    ld.w       0(rg1),at
                                    add        rg0,at
                                    st.w       at,0(rg1)

    add.s      rg0,0(rg1)     仺    ld.w       0(rg1),at
                                    addf.s     rg0,at
                                    st.w       at,0(rg1)

    add.ub     rg0,0(rg1)     仺    ld.b       0(rg1),at
                                    andi       #$ff,at,at
                                    add        rg0,at
                                    st.b       at,0(rg1)

    add.uh     rg0,0(rg1)     仺    ld.h       0(rg1),at
                                    andi       #$ffff,at,at
                                    add        rg0,at
                                    st.h       at,0(rg1)

    add.uw     rg0,0(rg1)     仺    ld.w       0(rg1),at
                                    add        rg0,at
                                    st.w       at,0(rg1)

俉乯add.b丂reg1,disp[reg0]
丂丂乮 .h, .w, .s, .ub, .uh, .uw, 偦偺懠偺柦椷乯

* 俈乯偲摨條偱偡丅

俋乯add.b丂reg,zp
丂丂乮 .h, .w, .s, .ub, .uh, .uw, 偦偺懠偺柦椷 乯

* ld 柦椷偱儗僕僗僞乮at乯偵丄侽儁乕僕傛傝巜掕悢抣暘憡懳偟偨儊儌儕偐傜丄巜掕僒僀
  僘暘儘乕僪偟丄reg 偲墘嶼偟偨屻丄僗僩傾偡傞僐乕僪偵揥奐偟傑偡丅
  僒僀僘巜掕偑晞崋側偟乮.ub, .uh乯偺帪偼丄侽奼挘偡傞僐乕僪傕揥奐偟傑偡丅
  乮傾僙儞僽儔梡儗僕僗僞 : at 傪巊梡偟傑偡丅乯

乻椺乼

    add.b     rg0,$7fff        仺    ld.b    $7fff(zero),at
                                     add     rg0,at
                                     st.b    at,$7fff(zero)

    add.h     rg0,$7fff        仺    ld.h    $7fff(zero),at
                                     add     rg0,at
                                     st.h    at,$7fff(zero)

    add.w     rg0,$7fff        仺    ld.w    $7fff(zero),at
                                     add     rg0,at
                                     st.w    at,$7fff(zero)

    add.s     rg0,$7fff        仺    ld.w    $7fff(zero),at
                                     addf.s  rg0,at
                                     st.w    at,$7fff(zero)

    add.ub    rg0,$7fff        仺    ld.b    $7fff(zero),at
                                     andi    #$ff,at,at
                                     add     rg0,at
                                     st.b    at,$7fff(zero)

    add.uh    rg0,$7fff        仺    ld.h    $7fff(zero),at
                                     andi    #$ffff,at,at
                                     add     rg0,at
                                     st.h    at,$7fff(zero)

    add.uw    rg0,$7fff        仺    ld.w    $7fff(zero),at
                                     add     rg0,at
                                     st.w    at,$7fff(zero)

侾侽乯add.b丂disp(reg0),reg1
丂  丂乮 .h, .w, .s, .ub, .uh, .uw, 偦偺懠偺柦椷 乯

* ld 柦椷偱 儗僕僗僞乮at乯偵丄disp(reg0) 偺撪梕傪儘乕僪偟丄reg1 偲墘嶼偡傞僐乕
  僪偵揥奐偟傑偡丅僒僀僘巜掕偑晞崋側偟乮.ub, .uh乯偺帪偼丄侽奼挘偡傞僐乕僪傕揥
  奐偟傑偡丅乮傾僙儞僽儔梡儗僕僗僞 : at 傪巊梡偟傑偡丅乯

乻椺乼

    add.b     0(rg0),rg1       仺    ld.b    0(rg0),at
                                     add     at,rg1

    add.h     0(rg0),rg1       仺    ld.h    0(rg0),at
                                     add     at,rg1

    add.w     0(rg0),rg1       仺    ld.w    0(rg0),at
                                     add     at,rg1

    add.s     0(rg0),rg1       仺    ld.w    0(rg0),at
                                     addf    at,rg1

    add.ub    0(rg0),rg1       仺    ld.b    0(rg0),at
                                     andi    #$ff,at,at
                                     add     at,rg1

    add.uh    0(rg0),rg1       仺    ld.h    0(rg0),at
                                     andi    #$ffff,at,at
                                     add     at,rg1

    add.uw    0(rg0),rg1       仺    ld.w    0(rg0),at
                                     add     at,rg1

侾侾乯add.b丂disp[reg0],reg1
      乮 .h, .w, .s, .ub, .uh, .uw, 偦偺懠偺柦椷 乯

* 侾侽乯偲摨條偱偡丅

侾俀乯add.b丂disp[label],reg
丂丂丂add.b丂disp[ext],reg
丂丂丂乮 .h, .w, .s, .ub, .uh, .uw, 偦偺懠偺柦椷乯

* ld 柦椷偱儗僕僗僞乮at乯偵丄label(ext) 偺撪梕偺巜偡傾僪儗僗偐傜巜掕僒僀僘暘傪
  儘乕僪偟丄reg 偲墘嶼偡傞僐乕僪偵揥奐偟傑偡丅僒僀僘巜掕偑晞崋側偟乮.ub, .uh乯
  偺帪偼丄侽奼挘偡傞僐乕僪傕揥奐偟傑偡丅
  乮傾僙儞僽儔梡儗僕僗僞 : at 傪巊梡偟傑偡丅乯

乻椺乼

    add.b     2[label],rg0     仺    movhi    #hi1(label),zero,at
                                     movea    #lo(label),at,at
                                     ld.w     0(at),at
                                     ld.b     2(at),at
                                     add      at,rg0

    add.h     2[label],rg0     仺    movhi    #hi1(label),zero,at
                                     movea    #lo(label),at,at
                                     ld.w     0(at),at
                                     ld.h     2(at),at
                                     add      at,rg0

    add.w     2[label],rg0     仺    movhi    #hi1(value),zero,at
                                     movea    #lo(label),at,at
                                     ld.w     0(at),at
                                     ld.w     2(at),at
                                     add      at,rg0

    add.s     2[label],rg0     仺    movhi    #hi1(label),zero,at
                                     movea    #lo(label),at,at
                                     ld.w     0(at),at
                                     ld.w     2(at),at
                                     addf.s   at,rg0

    add.ub    2[label],rg0     仺    movhi    #hi1(label),zero,at
                                     movea    #lo(label),at,at
                                     ld.w     0(at),at
                                     ld.b     2(at),at
                                     andi     #$ff,at,at
                                     add      at,rg0

    add.uh    2[label],rg0     仺    movhi    #hi1(label),zero,at
                                     movea    #lo(label),at,at
                                     ld.w     0(at),at
                                     ld.h     2(at),at
                                     andi     #$ffff,at,at
                                     add      at,rg0

    add.uw    2[label],rg0     仺    movhi    #hi1(label),zero,at
                                     movea    #lo(label),at,at
                                     ld.w     0(at),at
                                     ld.w     2(at),at
                                     add      at,rg0

侾俁乯add.b丂zp,reg
丂丂丂乮 .h, .w, .s, .ub, .uh, .uw, 偦偺懠偺柦椷 乯

* ld 柦椷偱儗僕僗僞乮at乯偵丄侽儁乕僕傛傝巜掕悢抣暘憡懳偟偨儊儌儕偐傜丄巜掕僒僀
  僘暘儘乕僪偟丄reg 偲墘嶼偡傞僐乕僪偵揥奐偟傑偡丅僒僀僘巜掕偑晞崋側偟
  乮.ub, .uh乯偺帪偼丄侽奼挘偡傞僐乕僪傕揥奐偟傑偡丅
  乮傾僙儞僽儔梡儗僕僗僞 : at 傪巊梡偟傑偡丅乯

乻椺乼

    add.b    $7fff,rg0         仺    ld.b    $7fff(zero),at
                                     add     at,rg0

    add.h    $7fff,rg0         仺    ld.h    $7fff(zero),at
                                     add     at,rg0

    add.w    $7fff,rg0         仺    ld.w    $7fff(zero),at
                                     add     at,rg0

    add.s    $7fff,rg0         仺    ld.w    $7fff(zero),at
                                     addf.s  at,rg0

    add.ub   $7fff,rg0         仺    ld.b    $7fff(zero),at
                                     andi    #$ff,at,at
                                     add     at,rg0

    add.uh   $7fff,rg0         仺    ld.h    $7fff(zero),at
                                     andi    #$ffff,at,at
                                     add     at,rg0

    add.uw   $7fff,rg0         仺    ld.w    $7fff(zero),at
                                     add     at,rg0

侾係乯add.b丂label,reg
丂丂丂add.b丂ext,reg
丂丂丂乮 .h, .w, .s, .ub, .uh, .uw, 偦偺懠偺柦椷 乯

* ld 柦椷偱儗僕僗僞乮at乯偵丄label(ext) 偺撪梕傪儘乕僪偟 reg 偲墘嶼偡傞僐乕僪
  偵揥奐偟傑偡丅僒僀僘巜掕偑晞崋側偟乮.ub, .uh乯偺帪偼丄侽奼挘偡傞僐乕僪傕揥奐
  偟傑偡丅乮傾僙儞僽儔梡儗僕僗僞 : at 傪巊梡偟傑偡丅乯

乻椺乼

    add.b    label,rg0         仺    movhi   #hi1(label),zero,at
                                     movea   #lo(label),at,at
                                     ld.b    0(at),at
                                     add     at,rg0

    add.h    label,rg0         仺    movhi   #hi1(label),zero,at
                                     movea   #lo(label),at,at
                                     ld.h    0(at),at
                                     add     at,rg0

    add.w    label,rg0         仺    movhi   #hi1(label),zero,at
                                     movea   #lo(label),at,at
                                     ld.w    0(at),at
                                     add     at,rg0

    add.s    label,rg0         仺    movhi   #hi1(label),zero,at
                                     movea   #lo(label),at,rg0,at
                                     ld.w    0(at),at
                                     addf.s  at,rg0

    add.ub   label,rg0         仺    movhi   #hi1(label),zero,at
                                     movea   #lo(label),at,at
                                     ld.b    0(at),at
                                     andi    #$ff,at,at
                                     add     at,rg0

    add.uh   label,rg0         仺    movhi   #hi1(label),zero,at
                                     movea   #lo(label),at,at
                                     ld.h    0(at),at
                                     andi    #$ffff,at,at
                                     add     at,rg0

    add.uw丂 label,rg0         仺    movhi   #hi1(label),zero,at
                                     movea   #lo(label),at,at
                                     ld.w    0(at),at
                                     add     at,rg0

侾俆乯add.b丂#ext,disp(reg)
丂丂丂乮 .h, .w, .ub, .uh, .uw, 僀儈僨傿僄乕僩傪巜掕偱偒傞柦椷 乯

* ld 柦椷偱儗僕僗僞乮at乯偵丄disp(reg0) 偺撪梕傪儘乕僪偟丄 ext 傪僀儈僨傿僄乕僩
  偲偟偰墘嶼屻丄st 柦椷偱 disp(reg)偵僗僩傾偡傞僐乕僪偵揥奐偟傑偡丅
  僒僀僘巜掕偑 .b , .ub 偺帪偼丄懄抣偼5價僢僩偲偟偰張棟偟傑偡丅僒僀僘巜掕偑晞崋
  側偟乮.ub, .uh乯偺帪偼丄侽奼挘偡傞僐乕僪傕揥奐偟傑偡丅
  乮傾僙儞僽儔梡儗僕僗僞 : at 傪巊梡偟傑偡丅乯

乻椺乼

    add.b    #ext,0(rg0)       仺   ld.b    0(rg0),at
                                    addi    #value,at,at
                                    st.b    at,0(rg0)

    add.h    #ext,0(rg0)       仺   addi    #value,at,at
                                    st.h    at,0(rg0)

    add.w    #ext,0(rg0)       仺   ld.w    0(rg0),at
                                    addi    #value,at,at
                                    st.w    at,0(rg0)

    add.ub   #ext,0(rg0)       仺   ld.b    0(rg0),at
                                    andi    #$ff,at,at
                                    addi    #value,at,at
                                    st.b    at,0(rg0)

    add.uh   #ext,0(rg0)       仺   ld.h    0(rg0),at
                                    andi    #$ffff,at,at
                                    addi    #value,at,at
                                    st.h    at,0(rg0)

    add.uw   #ext,0(rg0)       仺   ld.w    0(rg0),at
                                    addi    #value,at,at
                                    st.w    at,0(rg0)

* value 偼儕儞僋屻偵愝掕偝傟傑偡丅

侾俇乯add.b丂#ext,reg
  丂丂乮 .h, .w, .s, .ub, .uh, .uw, 偦偺懠偺柦椷 乯

* ext 傪巜掕僒僀僘暘偺僀儈僨傿僄乕僩偲偟偰丄reg 偲墘嶼偡傞柦椷偵揥奐偟傑偡丅
  僆儁儔儞僪偵掕悢偑巜掕偱偒側偄柦椷偺帪傗乮 mul 摍乯丄俁俀價僢僩偺帪
  乮.w 傪巜掕乯偼丄儗僕僗僞乮at乯偵抣傪儘乕僪偡傞僐乕僪傕揥奐偟傑偡丅
  乮傾僙儞僽儔梡儗僕僗僞 : at 傪巊梡偡傞働乕僗偑偁傝傑偡丅乯

乻椺乼

    add.b    #ext0,rg0         仺    add     #value,rg0

    add.h    #ext1,rg0         仺    addi    #value,rg0,rg0

    add.w    #ext2,rg0         仺    movhi   #hi1(value),zero,at
                                     movea   #lo(value),at,at
                                     add     at,rg0

    add.s    #ext3,rg0         仺    movhi   #hi1(value),zero,at
                                     movea   #lo(value),at,at
                                     addf.s  at,rg0

    add.ub   #ext4,rg0         仺    addi    #value,rg0,rg0

    add.uh   #ext5,rg0         仺    addi    #value,rg0,rg0

    add.uw丂 #ext6,rg0         仺    movhi   #hi1(value),zero,at
                                     movea   #lo(value),at,at
                                     add     at,rg0

* value 偼儕儞僋屻偵愝掕偝傟傑偡丅

侾俈乯add.b丂#ext,label ( zextern symbol )
  丂丂乮 .h, .w, .ub, .uh, .uw, 僀儈僨傿僄乕僩傪巜掕偱偒傞柦椷 乯

* ld 柦椷偱儗僕僗僞乮at乯偵丄offset(zero) 偺撪梕傪儘乕僪偟丄ext 傪僀儈僨傿僄乕
  僩偲偟偰墘嶼屻丄st 柦椷偱 offset(zero) 偵僗僩傾偡傞僐乕僪偵揥奐偟傑偡丅
  僒僀僘巜掕偑晞崋側偟乮.ub, .uh乯偺帪偼丄侽奼挘偡傞僐乕僪傕揥奐偟傑偡丅
  乮傾僙儞僽儔梡儗僕僗僞 : at 傪巊梡偟傑偡丅乯

乻椺乼

    add.b    #ext,zext         仺    ld.b   offset(zero),at
                                     addi   #value,at,at
                                     st.b   at,offset(zero)

    add.h    #ext,zext         仺    ld.h   offset(zero),at
                                     addi   #value,at,at
                                     st.h   at,offset(zero)

    add.w    #ext,zext         仺    ld.w   offset(zero),at
                                     addi   #value,at,at
                                     st.w   at,offset(zero)

    add.ub   #ext,zext         仺    ld.b   offset(zero),at
                                     andi   #$ff,at,at
                                     addi   #value,at,at
                                     st.b   at,offset(zero)

    add.uh   #ext,zext         仺   ld.h    offset(zero),at
                                    andi    #$ffff,at,at
                                    addi    #value,at,at
                                    st.h    at,offset(zero)

    add.uw   #ext,zext         仺   ld.w    offset(zero),at
                                    addi    #value,at,at
                                    st.w    at,offset(zero)

* value,offset 偼儕儞僋屻偵愝掕偝傟傑偡丅


仭俇丏俆 摿庩儅僋儘

侾乯push丂reglist
丂丂pop丂reglist

亅亅亅亅亅亄亅亅亅亅亅亅
reg       乥儗僕僗僞
亅亅亅亅亅亄亅亅亅亅亅亅
regx      乥摿庩儗僕僗僞
亅亅亅亅亅亄亅亅亅亅亅亅
exp       乥悢抣昞尰
亅亅亅亅亅亄亅亅亅亅亅亅
name:reg  乥
亅亅亅亅亅亄亅亅亅亅亅亅
name:regx 乥
亅亅亅亅亅亄亅亅亅亅亅亅
name:exp  乥
亅亅亅亅亅亄亅亅亅亅亅亅

 reglist 偵偼忋偺昞婰偑巊梡偱偒傑偡丅
傑偨丄()傪巊偆偙偲偵傛傝僗僞僢僋偵愊傑傟偰偒偨抣傕嶲徠偱偒傑偡丅pop 偡傞帪偼摨
偠堷悢傪巜掕偟偰傕峔偄傑偣傫丅

* push 偺帪偼僗僞僢僋億僀儞僞傪偢傜偟丄偦偙偵巜掕儗僕僗僞傪僗僩傾偡傞僐乕僪偵
  揥奐偝傟丄pop 偺帪 push 偵懳墳偡傞僗僞僢僋偐傜丄偦偺撪梕傪巜掕儗僕僗僞偵儘乕
  僪偡傞僐乕僪偵揥奐偟傑偡丅

乻椺乼

丂丂push     rg0,rg5-rg7         仺    add    #-16,sp
                                       st.w   rg0,0(sp)
                                       st.w   rg5,4(sp)
                                       st.w   rg6,8(sp)
                                       st.w   rg7,12(sp)

    pop      rg0,rg5-rg7         仺    ld.w    12(sp),rg7
                                       ld.w    8(sp),rg6
                                       ld.w    4(sp),rg5
                                       ld.w    0(sp),rg0
                                       addi    #16,sp,sp

乻椺乼

俠偐傜屇偽傟傞 foo 傪傾僙儞僽儔偱婰弎偡傞応崌偱偡丅
堷悢偑俇屄丄儗僕僗僞曄悢傪俁屄巊偄丄僆乕僩曄悢 tmp 傪庢傝傑偡丅

    .globl   foo
foo:
    push (arg5:4,arg6:4),arg1:ra0,arg2:ra1,arg3:ra2,arg4:ra3,link,rg7-rg9,tmp:4
    mov  arg1,ra1
    mov  arg2,ra1
    mov  arg3,ra1
    mov  arg4,ra1
    mov  arg5,ra1
    mov  arg6,ra1
    mov  tmp,ra1
    call func
    pop  16,link,rg7-rg9,tmp:4
    rts

    0x00000000 : 63a4dcff    addi    $ffdc,sp,sp
    0x00000004 : c3dc0000    st.w    ra0,0(sp)
    0x00000008 : e3dc0400    st.w    ra1,4(sp)
    0x0000000c : 03dd0800    st.w    ra2,8(sp)
    0x00000010 : 23dd0c00    st.w    ra3,12(sp)
    0x00000014 : e3df1000    st.w    link,16(sp)
    0x00000018 : 23de1400    st.w    rg7,20(sp)
    0x0000001c : 43de1800    st.w    rg8,24(sp)
    0x00000020 : 63de1c00    st.w    rg9,28(sp)
    0x00000024 : e3cc0000    ld.w    0(sp),ra1
    0x00000028 : e3cc0400    ld.w    4(sp),ra1
    0x0000002c : e3cc0800    ld.w    8(sp),ra1
    0x00000030 : e3cc0c00    ld.w    12(sp),ra1
    0x00000034 : e3cc2400    ld.w    36(sp),ra1
    0x00000038 : e3cc2800    ld.w    40(sp),ra1
    0x0000003c : e3cc2000    ld.w    32(sp),ra1
    0x00000040 : 00ac0000    jal     $00000040
    0x00000044 : 63ce1c00    ld.w    28(sp),rg9
    0x00000048 : 43ce1800    ld.w    24(sp),rg8
    0x0000004c : 23ce1400    ld.w    20(sp),rg7
    0x00000050 : e3cf1000    ld.w    16(sp),link
    0x00000054 : 63a42400    addi    $24,sp,sp
    0x00000058 : 1f18        rts

傑偨丄傾僙儞僽儔偱捠忢偵巊偆応崌偱傕儚乕僋偑昁梫側応崌丄師偺傛偆偵巊偆偙偲偑
壜擻偵側傝傑偡丅

    push   buf:256,link
    mov    #buf,ra1

峔憿懱傪僗僞僢僋忋偵俀偮庢傝偨偄帪側偳偼師偺傛偆偵偟傑偡丅

    str1   struct[rg0]
    top1:  ds       4
    end1:  ds       2
           align    4
           ends    
           struct[rg1]
    top2:  ds       4
    end2:  ds       2
           align    4
           ends

           push     str1,str2
           mov      #str1,rg0
           mov      top1,ra1
           mov.h    end1,ra1
           mov      #str2,rg1
           mov      top2,ra1
           mov.h    end2,ra1
           pop      str1,str2
           rts


仭俇丏俇 僼儔僌儅僋儘

侾乯setfXX    reg

* XX 偱巜掕偝傟傞僐儞僨傿僔儑儞傪懳墳偡傞忦審僐乕僪偵曄姺偟丄setf 柦椷偱揥奐偟
  傑偡丅

乻椺乼

    setfeq       rg0        仺    setf    #2,rg0

    setfne       rg0        仺    setf    #10,rg0


亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖

戞俈復丂僄儔乕儊僢僙乕僕

堎忢廔椆帪偵偼応崌偵墳偠偰埲壓偺傛偆側儊僢僙乕僕傪弌椡偟偰廔椆偟傑偡丅
亅亅亅亅亅亅亅亅亅亅亅亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅
illegal operand             乥僆儁儔儞僪偑晄惓偱偡丅
亅亅亅亅亅亅亅亅亅亅亅亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅
expression not decide       乥悢抣昞尰偑寛掕偱偒傑偣傫丅
亅亅亅亅亅亅亅亅亅亅亅亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅
no symbol                   乥僔儞儃儖偑偁傝傑偣傫丅
亅亅亅亅亅亅亅亅亅亅亅亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅
multi definition            乥擇廳掕媊偱偡丅
亅亅亅亅亅亅亅亅亅亅亅亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅
symbol type not match       乥僔儞儃儖偺庬椶偑堦抳偟傑偣傫丅
亅亅亅亅亅亅亅亅亅亅亅亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅
misplaced elseif directive  乥elseif 偺応強偑惓偟偔偁傝傑偣傫丅
亅亅亅亅亅亅亅亅亅亅亅亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅
misplaced else directive    乥else 偺応強偑惓偟偔偁傝傑偣傫丅
亅亅亅亅亅亅亅亅亅亅亅亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅
misplaced endif directive   乥endif 偺応強偑惓偟偔偁傝傑偣傫丅
亅亅亅亅亅亅亅亅亅亅亅亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅
misplaced endm directive    乥endm 偺応強偑惓偟偔偁傝傑偣傫丅
亅亅亅亅亅亅亅亅亅亅亅亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅
misplaced local directive   乥local 偺応強偑惓偟偔偁傝傑偣傫丅
亅亅亅亅亅亅亅亅亅亅亅亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅
missing endif               乥endif 偑偁傝傑偣傫丅
亅亅亅亅亅亅亅亅亅亅亅亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅
missing endm                乥endm 偑偁傝傑偣傫丅
亅亅亅亅亅亅亅亅亅亅亅亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅
misplaced until             乥until 偺応強偑惓偟偔偁傝傑偣傫丅
亅亅亅亅亅亅亅亅亅亅亅亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅
misplaced endwhile          乥endwhile 偺応強偑惓偟偔偁傝傑偣傫丅
亅亅亅亅亅亅亅亅亅亅亅亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅
misplaced endloop           乥endloop 偺応強偑惓偟偔偁傝傑偣傫丅
亅亅亅亅亅亅亅亅亅亅亅亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅
nesting over                乥僱僗僥傿儞僌偑怺偡偓傑偡丅
亅亅亅亅亅亅亅亅亅亅亅亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅
expression too long         乥悢抣昞尰偑挿偡偓傑偡丅
亅亅亅亅亅亅亅亅亅亅亅亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅
illegal expression          乥岆偭偨悢抣昞尰偱偡丅
亅亅亅亅亅亅亅亅亅亅亅亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅
string constant too long    乥暥帤楍掕悢偑挿偡偓傑偡丅
亅亅亅亅亅亅亅亅亅亅亅亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅
macro nesting over          乥儅僋儘偺僱僗僥傿儞僌偑怺偡偓傑偡丅
亅亅亅亅亅亅亅亅亅亅亅亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅
illegal range value         乥岆偭偨斖埻偺抣偱偡丅
亅亅亅亅亅亅亅亅亅亅亅亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅
undefined symbol (乣)       乥乣偑掕媊偝傟偰偄傑偣傫丅
亅亅亅亅亅亅亅亅亅亅亅亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅
illegal public symbol (乣)  乥乣偼岆偭偨僷僽儕僢僋僔儞儃儖偱偡丅
亅亅亅亅亅亅亅亅亅亅亅亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅
too many arguments          乥堷悢偑懡偡偓傑偡丅
亅亅亅亅亅亅亅亅亅亅亅亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅
include not found 乣        乥乣偑傒偮偐傝傑偣傫丅
亅亅亅亅亅亅亅亅亅亅亅亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅
bad opecode                 乥岆偭偨柦椷僐乕僪偱偡丅
亅亅亅亅亅亅亅亅亅亅亅亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅
illegal character on line   乥岆偭偨僉儍儔僋僞偑偁傝傑偡丅
亅亅亅亅亅亅亅亅亅亅亅亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅
illegal addressing format   乥傾僪儗僢僔儞僌偺僼僅乕儅僢僩偑堘偄傑偡丅
亅亅亅亅亅亅亅亅亅亅亅亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅
byte out of range           乥僶僀僩偺斖埻傪墇偊傑偟偨丅
亅亅亅亅亅亅亅亅亅亅亅亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅
word out of range           乥儚乕僪偺斖埻傪墇偊傑偟偨丅
亅亅亅亅亅亅亅亅亅亅亅亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅
relative byte out of range  乥憡懳僶僀僩僆僼僙僢僩偑斖埻傪墇偊傑偟偨丅
亅亅亅亅亅亅亅亅亅亅亅亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅
relative word out of range  乥憡懳儚乕僪僆僼僙僢僩偑斖埻傪墇偊傑偟偨丅
亅亅亅亅亅亅亅亅亅亅亅亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅
zero page out of range      乥僛儘儁乕僕偺斖埻傪墇偊傑偟偨丅
亅亅亅亅亅亅亅亅亅亅亅亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅
illegal addressing mode     乥晄惓側傾僪儗僢僔儞僌儌乕僪偱偡丅
亅亅亅亅亅亅亅亅亅亅亅亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅
illegal relative expression 乥晄惓側憡懳昞尰偱偡丅
亅亅亅亅亅亅亅亅亅亅亅亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅
string unterminated         乥暥帤楍偑廔椆偟偰偄傑偣傫丅
亅亅亅亅亅亅亅亅亅亅亅亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅
illegal number character    乥晄惓側悢帤僉儍儔僋僞偱偡丅
亅亅亅亅亅亅亅亅亅亅亅亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅
illegal external expression 乥晄惓側奜晹僔儞儃儖昞尰偱偡丅
亅亅亅亅亅亅亅亅亅亅亅亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅
immediate bit field over    乥懄抣偺斖埻傪墇偊傑偟偨丅
亅亅亅亅亅亅亅亅亅亅亅亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅
not enough memory           乥儊儌儕偑懌傝傑偣傫丅
亅亅亅亅亅亅亅亅亅亅亅亅亅亅亄亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅亅

亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖亖

乻挊嶌尃媦傃搊榐彜昗摍乼

丒FXAS.EXE 媦傃 FXAS.TXT乮埲壓丄"杮僜僼僩僂僃傾"偲偄偆乯偼丄俹俠亅俥倃俧俙梡偺
  僜僼僩僂僃傾奐敪僣乕儖偺堦晹偱偡丅
  杮僜僼僩僂僃傾傪丄俹俠亅俥倃丄俹俠亅俥倃俧俙梡偺僜僼僩僂僃傾奐敪埲奜偺栚揑偱
  巊梡偟側偄偱壓偝偄丅

丒杮僜僼僩僂僃傾傪巊梡偟偨寢壥丄捈愙媦傃娫愙揑偵惗偠偨懝奞偵偮偄偰丄姅幃夛幮僴
  僪僜儞偼丄堦愗偺愑擟傑偨偼嵚柋傪晧傢側偄傕偺偲偟傑偡丅

丒杮僜僼僩僂僃傾偺憖嶌曽朄丄媄弍揑撪梕丄偦偺懠偺幙栤偵偮偄偰丄姅幃夛幮僴僪僜儞
  偱偼丄捈愙偍摎偊偟偰偄傑偣傫丅偍栤偄崌傢偣偼偛墦椂壓偝偄丅

丒杮僜僼僩僂僃傾偺巊梡偵嵺偟丄乽僜僼僩僂僃傾偺偛巊梡忦審乿傪傛偔偛棗偄偨偩偒丄
  偛棙梡壓偝偄傑偡傛偆偍婅偄抳偟傑偡丅

丒杮僜僼僩僂僃傾偺挊嶌尃偼丄姅幃夛幮僴僪僜儞偑曐桳偟偰偄傑偡丅


MS-DOS偼暷崙儅僀僋儘僜僼僩幮偺搊榐彜昗偱偡丅
倁俉侾侽丆倁俉侾侽僼傽儈儕偼擔杮揹婥姅幃夛幮偺彜昗偱偡丅
偦偺懠丄婰嵹偝傟偰偄傞夛幮柤丄惢昳柤偼丄奺幮偺搊榐彜昗傑偨偼彜昗偱偡丅


                                                            (C)1996 HUDSON SOFT
